R/utils.R
magnitude.Rd
Find the magnitude of a vector.
magnitude(x)
A numeric vector.
A scalar value (the magnitude of x).