vectornorm: Vector norm

View source: R/vectornorm.R

vectornormR 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


obreschkow/cooltools documentation built on Nov. 16, 2024, 2:46 a.m.