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

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

A trait for vectors containing numerical types

Required Methods

Calculates the sum of all components of the vector

Calculates the produce of all components of the vector

Implementors