[][src]Function nalgebra::magnitude_squared

pub fn magnitude_squared<V: NormedSpace>(v: &V) -> V::Field
Deprecated

: use Matrix::magnitude_squared or Quaternion::magnitude_squared instead

A synonym for norm_squared, aka length squared.

See also:

Deprecated

Use these methods instead:

  • [Matrix::magnitude_squared]
  • [Quaternion::magnitude_squared]

Or, use NormedSpace::norm_squared.