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<jonathan.lees@unc.edu>

Examples

1
2
3
x = runif(10)

Mnorm(x, k = 2)

PEIP documentation built on May 20, 2017, 5:42 a.m.

Search within the PEIP package
Search all R packages, documentation and source code