powered by
This function computes the L2 norm (Euclidean norm) of the input vector u.
norm2(u)
Numeric value representing the L2 norm of u.
Numeric vector.
norm2(c(1,2,3))
Run the code above in your browser using DataLab