Skip to main content

normalize

Function normalize 

Source
pub fn normalize(v: &mut [f64])
Expand description

Normalise v in-place; if the norm is (near) zero, the vector is left unchanged.