[][src]Trait coord::math::VecDot

pub trait VecDot: Vector where
    Self::Item: VecItem + Num
{ fn dot(&self, other: Self) -> Self::Item; }

Trait for vectors that support a dot-product

Required methods

fn dot(&self, other: Self) -> Self::Item

calculates the dot product of the two vectors

Loading content...

Implementors

impl<V> VecDot for V where
    V: Sized + Copy + VecNum + Mul<Output = V>,
    V::Item: VecItem + Num
[src]

Default implement the dot product for all numeric vectors

Loading content...