norm
Compute the Norm of a Matrix

Description

Displays the norm of a matrix according to the norm type.

Usage

norm(x, type = c("O", "I", "F", "M"))

Arguments

x a numeric or complex matrix.
type a character string specified as norm type. The norm type can be one of "O", "I", "F" and "M". See the Details section for their descriptions.

Details

norm() uses the LAPACK routine "DLANGE" (numeric) or "ZLANGE" (complex) to calculate the norm of a matrix. The type argument defines the norm types:
Value
A numeric value representing the norm of a matrix.
Differences between TIBCO Enterprise Runtime for R and Open-source R
Open-source R does not handle complex matrices.
References
Anderson. E. and ten others (1999) LAPACK Users' Guide. Third Edition. SIAM.
Available on-line at http://www.netlib.org/lapack/lug/lapack_lug.html.
Examples
x <- matrix(rnorm(12), nrow = 3)
norm(x)
norm(x, "M")
norm(x, "O")
norm(x, "I")
norm(x, "F")
Package base version 4.0.0-28
Package Index