nalgebra/src/traits/basis.rs

8 lines
225 B
Rust
Raw Normal View History

2013-05-19 01:04:03 +08:00
pub trait Basis
{
/// Computes the canonical basis of the space in which this object lives.
// FIXME: implement the for loop protocol?
fn canonical_basis(&fn(Self));
fn orthonormal_subspace_basis(&self, &fn(Self));
2013-05-19 01:04:03 +08:00
}