Matrix Norm

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.