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

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

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:

- [Matrix::norm_squared]
- [Quaternion::norm_squared]

Or, use NormedSpace::norm_squared.