[][src]Function nalgebra::try_normalize

pub fn try_normalize<V: NormedSpace>(v: &V, min_norm: V::Field) -> Option<V>

Computes the normalized version of the vector v or returns None if its norm is smaller than min_norm.