norm2 {spheresmooth} | R Documentation |
Compute the L2 norm (Euclidean norm) of a vector
Description
This function computes the L2 norm (Euclidean norm) of the input vector u.
Usage
norm2(u)
Arguments
u |
Numeric vector. |
Value
Numeric value representing the L2 norm of u.
Examples
norm2(c(1,2,3))
[Package spheresmooth version 0.1.0 Index]