[−][src]Trait matrixlab::vector::VectorTrait
Required methods
fn add(&self, other: &Vector<A>) -> Vector<A>
Adds two vectors together
fn sub(&self, other: &Vector<A>) -> Vector<A>
Subtracts a vector from another
fn scale(&self, scale: A) -> Vector<A>
Scales the current vector by a constant
fn inner(&self, other: &Vector<A>) -> A
Takes the inner product of this vector and another