Skip to content

condest

linear-algebra · scripts/linear-algebra/condest.m

: c = condest (A)
: c = condest (A, t)
: [c, v] = condest (…)

Estimate of the 1-norm condition number of the square matrix A.

The estimate is norm (A, 1) times a block 1-norm estimate of norm (inv (A), 1) computed from an LU factorization (t columns per block, default 2). It never exceeds the true value, apart from rounding. The vector v satisfies norm (A*v, 1) = norm (A, 1) * norm (v, 1) / c. A singular matrix gives Inf and a warning.