8 lines
236 B
Rust
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];
|
|
}
|