nalgebra/src/traits/basis.rs
2013-05-21 22:46:33 +00:00

8 lines
236 B
Rust

pub trait Basis
{
/// Computes the canonical basis of the space in which this object lives.
// FIXME: need type-associated values
fn canonical_basis() -> ~[Self];
fn orthogonal_subspace_basis(&self) -> ~[Self];
}