linalg[cond] - condition number of a matrix
|
Calling Sequence
|
|
cond(A)
cond(A, normname)
|
|
Parameters
|
|
A
|
-
|
square matrix
|
normname
|
-
|
(optional) matrix norm, must be one of: 1, 2, 'infinity', or 'frobenius'.
|
|
|
|
|
Description
|
|
•
|
The function cond computes the ``standard'' matrix condition number, defined as norm(A) * norm(inverse(A)). The matrix norm is the default employed by the linalg[norm] function, namely the infinity norm (maximum row sum).
|
•
|
More generally, cond(A, normname) computes norm(A, normname) * norm(inverse(A), normname). This is the same measure, but using the specified norm instead of the infinity norm.
|
•
|
The command with(linalg,cond) allows the use of the abbreviated form of this command.
|
|
|
Download Help Document
Was this information helpful?