E_norm: Function returns the length of a vector or column lengths...

View source: R/E_norm.R

E_normR Documentation

Function returns the length of a vector or column lengths from a matrix

Description

Function calculates the Euclidean norm of a vector or norm for each column if a matrix is submitted.

Usage

E_norm(X)

Arguments

X

a numeric vector or matrix

Value

a scalar norm (if X is a vector) or a vector (if X is a matrix) of norms for each column.

Author(s)

Rick Dean


deandevl/RmatrixPkg documentation built on March 11, 2023, 2:39 a.m.