Function nalgebra_glm::length2[][src]

pub fn length2<T: RealNumber, const D: usize>(x: &TVec<T, D>) -> T
Expand description

The squared magnitude of x.

A synonym for magnitude2.

See also: