Rdocumentation
powered by
Learn R Programming
retistruct (version 0.5.9)
vecnorm: Vector norm
Description
Vector norm
Usage
vecnorm(X)
Arguments
X
Vector or matrix.
Value
If a vector, returns the 2-norm of the vector. If a matrix, returns the 2-norm of each row of the matrix