vecnorm: Vector norm

View source: R/geometry.R

vecnormR Documentation

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

Author(s)

David Sterratt


retistruct documentation built on April 3, 2025, 5:58 p.m.