[][src]Function na::norm_squared

pub fn norm_squared<V>(v: &V) -> <V as NormedSpace>::RealField where
    V: NormedSpace
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.