[][src]Function smallpt::nalgebra::magnitude

pub fn magnitude<V>(v: &V) -> <V as VectorSpace>::Field where
    V: NormedSpace, 
Deprecated:

use Matrix::magnitude or Quaternion::magnitude instead

A synonym for norm, aka length.

See also:

Deprecated

Use these methods instead:

  • [Matrix::magnitude]
  • [Quaternion::magnitude]

Or, use NormedSpace::norm.