Trait nalgebra::Basis [] [src]

pub trait Basis: Sized {
    fn canonical_basis<F: FnMut(Self) -> bool>(F);
    fn orthonormal_subspace_basis<F: FnMut(Self) -> bool>(&Self, F);
    fn canonical_basis_element(i: usize) -> Option<Self>;
}

Traits of objects which can form a basis (typically vectors).

Required Methods

Iterates through the canonical basis of the space in which this object lives.

Iterates through a basis of the subspace orthogonal to self.

Gets the ith element of the canonical basis.

Implementors