finesse.cymath.cmatrix.KLUMatrix.rcond¶
- KLUMatrix.rcond(self) -> double klu_rcond: compute min(abs(diag(U))) / max(abs(diag(U)))¶
klu_rcond: compute min(abs(diag(U))) / max(abs(diag(U)))
This function returns the smallest diagonal entry of U divided by the largest, which is a very crude estimate of the reciprocal of the condition number of the matrix A. It is very cheap to compute, however. In MATLAB notation, rcond = min(abs(diag(U))) / max(abs(diag(U))). If the matrix is singular, rcond will be zero.