pub trait WBasis: Sized {
    type Basis;

    fn orthonormal_basis(self) -> Self::Basis;
    fn orthonormal_vector(self) -> Self;
}
Expand description

Trait to compute the orthonormal basis of a vector.

Required Associated Types

The type of the array of orthonormal vectors.

Required Methods

Computes the vectors which, when combined with self, form an orthonormal basis.

Computes a vector orthogonal to self with a unit length (if self has a unit length).

Implementations on Foreign Types

Implementors