Description Usage Arguments Details Value Source References See Also Examples
Computes a matrix norm of x
using LAPACK. The norm can be
the one ("O"
) norm, the infinity ("I"
) norm, the
Frobenius ("F"
) norm, the maximum modulus ("M"
) among
elements of a matrix, or the “spectral” or "2"
-norm, as
determined by the value of type
.
1 |
x |
numeric matrix; note that packages such as Matrix
define more |
type |
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
dlange
.
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.
Except for norm = "2"
, the LAPACK routine DLANGE
.
LAPACK is from http://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.