[−][src]Trait lll_rs::vector::Vector
The Vector
trait describes the general properties of an element in a vector space.
Required methods
fn dimension(&self) -> usize
Returns the vector's dimension
fn add(&self, other: &Self) -> Self
Add two vectors together
fn sub(&self, other: &Self) -> Self
Substract two vectors
fn init(dimension: usize) -> Self
Initialise vector type
fn basis_vector(&self, position: usize) -> Self
Basis vector