Skip to main content

mag2

Function mag2 

Source
pub fn mag2<T: Float, V: Magnitude<T>>(a: V) -> T
Expand description

returns the scalar magnitude or length of vector a squared to avoid using sqrt