Learn R Programming

cooltools (version 2.4)

vectornorm: Vector norm

Description

Compute the norm of a vector or a matrix of vectors

Usage

vectornorm(x)

Value

Returns a scalar or an n-element vector with the vector norms

Arguments

x

m-element vector or n-by-m matrix (x[1:n,1:m]) representing n m-element vectors

Author

Danail Obreschkow

See Also

vectornorm