MatrixCondition
MatrixCondition (wave2D, mode)
MatrixCondition returns the estimated reciprocal of the condition number of a 2D square matrix wave2D.
The condition number is the product of the norm of the matrix with the norm of the inverse of the matrix (see details below). The type of norm is determined by the value of the mode parameter. 1-norm is used if mode is 1 and infinity-norm is used otherwise.
The MatrixCondition function was added in Igor Pro 7.00.
Details
The function uses LAPACK routines to estimate the reciprocal condition number by first obaining the norm of the input matrix and then using LU decomposition to obtain the norm of the inverse of the matrix. The estimate returned is
where the norms are selected by the choice of the mode parameter. The 1-norm of matrix A with elements aij is defined as
and the infinity-norm is defined by
The function returns a NaN if there is any error in the input parameters.
References
http://en.wikipedia.org/wiki/Matrix_norm
See Also
MatrixSVD provides a condition number for L2 norm using the ratio of singular values.
The MatrixOp operation for more efficient matrix operations.
Matrix Math Operations for more about Igor's matrix routines.