dot

Function dot 

Source
pub fn dot<T, V>(l: &V, r: &V) -> T
where T: Scalar, V: Vector<T>,
Expand description

Computes the dot product of two vectors.

§Mathematical Definition

v · w = Σᵢ vᵢwᵢ