Rdocumentation
powered by
Learn R Programming
mclust (version 2.0-1)
vecnorm: Norm of a vector
Description
Function returns norm of a vector.
Usage
vecnorm(x, p = 2)
Arguments
x
Vector.
p
For
p = 2
(default), the Euclidean norm is returned.
Value
Scalar, the norm of the vector.