mnorm: Euclidean Norm of a Matrix

Description Usage Arguments Value See Also Examples

Description

Computes the euclidean (aka Frobenius) norm of a matrix

Usage

1
  mnorm(x)

Arguments

x

a numeric matrix

Value

norm of x

See Also

vnorm

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
M1 = matrix(1:9, 3, 3)

# norm of M1
mnorm(M1)

# one-dim (one row) matrix
M2 = matrix(1:15, 3, 5)

# norm of row1
mnorm(M2)

gastonstat/matrixkit documentation built on May 16, 2019, 5:45 p.m.