Trait coord::math::VecNum[][src]

pub trait VecNum<'a>: Vector<'a> where
    Self::Item: VecItem<'a> + Num
{ fn sum(&self) -> Self::Item;
fn product(&self) -> Self::Item; }

Required Methods

Calculates the sum of all components of the vector

Calculates the produce of all components of the vector

Implementors