pub fn dot<T, V>(l: &V, r: &V) -> Twhere T: Scalar, V: Vector<T>,
Computes the dot product of two vectors.
v · w = Σᵢ vᵢwᵢ