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

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

Deprecated:

use `Matrix::norm_squared`

or `Quaternion::norm_squared`

instead

Computes the squared L2 (Euclidean) norm of the vector `v`

.

# See also:

# Deprecated

Use these methods instead:

Or, use NormedSpace::norm_squared.