Skip to main content

dot

Function dot 

Source
pub fn dot(a: Vec3, b: Vec3) -> f64
Expand description

The scalar product $a \cdot b = a_{0} b_{0} + a_{1} b_{1} + a_{2} b_{2}$.