vectornorm {cooltools}R Documentation

Vector norm

Description

Compute the norm of a vector or a matrix of vectors

Usage

vectornorm(x)

Arguments

x

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

Value

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

Author(s)

Danail Obreschkow

See Also

vectornorm


[Package cooltools version 2.4 Index]