Computes a matrix norm of
x using LAPACK. The norm can be
the one (
"O") norm, the infinity (
"I") norm, the
"F") norm, the maximum modulus (
elements of a matrix, or the “spectral” or
determined by the value of
numeric matrix; note that packages such as Matrix
character string, specifying the type of matrix norm to be computed. A character indicating the type of norm desired.
The default is
The base method of
norm() calls the LAPACK function
Note that the 1-, Inf- and
"M" norm is faster to calculate than
the Frobenius one.
Unsuccessful results from the underlying LAPACK code will result in an error giving a positive error code: these can only be interpreted by detailed study of the FORTRAN code.
The matrix norm, a non-negative number.
norm = "2", the LAPACK routine
LAPACK is from https://www.netlib.org/lapack/.
Anderson, E., et al (1994). LAPACK User's Guide, 2nd edition, SIAM, Philadelphia.
rcond for the (reciprocal) condition number.
1 2 3 4 5 6 7 8 9 10 11 12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.