# [−][src]Function nalgebra::magnitude_squared

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

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:

Or, use NormedSpace::norm_squared.