Mnorm: Matrix Norm

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/Mnorm.R

Description

Matrix Norm

Usage

1
Mnorm(X, k = 2)

Arguments

X

matrix

k

norm number

Details

returns the largest singular value of the matrix or vector

Value

Scalar Norm

Note

if k=1, absolute value; k=2 2-norm (rms); k>2, largest singular value.

Author(s)

Jonathan M. Lees<[email protected]>

Examples

1
2
3
x = runif(10)

Mnorm(x, k = 2)

PEIP documentation built on May 30, 2017, 8:06 a.m.