powered by
Computes the Euclidean norm of a vector.
twonorm(x)
A numeric vector of length one containing the two-norm of x.
A vector.
twonorm computes the Euclidean norm of a vector: sqrt(sum(x^2)).
twonorm
sqrt(sum(x^2))