This trait makes it possible to deal with the bases of a vector in a generic way.
Queries a basis of a vector space.
Queries a basis of a vector space as a mutable reference.
fn unit_basis() -> Self[src]
Creates an unit basis of the vector space.
Creates a scaled basis of the vector space of the specified magnitude.
fn with_basis(self, magnitude: Self::Scalar) -> Self[src]
Creates a new vector with a single basis set to a different value.