num::rcond¶
Defined in header <linear/condition.hpp>
template <factorization F>
real rcond(const F &factor, const mat<real> &A); // (1)
template <factorization F>
real rcond(const F &factor, const spmat &A); // (2)
(1) Estimate the reciprocal condition number: \(1 / (\|A\|_1 \|A^{-1}\|_1)\); 0 for a zero matrix.
(2) Estimate the reciprocal condition number of a sparse matrix: \(1 / (\|A\|_1 \|A^{-1}\|_1)\).
Notes¶
A solve loses about \(\log_{10}(1 / \mathrm{rcond})\) digits.