[−][src]Function rin::math::norm_squared
pub fn norm_squared<V>(v: &V) -> <V as VectorSpace>::Field 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:
- [Matrix::norm_squared]
- [Quaternion::norm_squared]
Or, use NormedSpace::norm_squared.