Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_pow_pseudoConditionNumber
Library ยท theorem
The Chebyshev bound in the condition number of \mathbf{A}: for positive definite \mathbf{A} with \kappa = \kappa(\mathbf{A}), \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{A}}^2 \le 4\Bigl(\frac{\sqrt{\kappa} - 1}{\sqrt{\kappa} + 1}\Bigr)^{2q} \|\mathbf{x}_\star - \mathbf{x}_0\|_{\mathbf{A}}^2 \,. The interval form at [\lambda_{\min}, \lambda_{\max}]. [Saad2003, (6.128)]. Result: cg-chebyshev-bound
Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_pow_pseudoConditionNumber.{u_1, u_2}
{๐ : Type u_1} [RCLike ๐] {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n ๐}
(hA : A.PosDef) {b xs : n โ ๐} (hxs : A *แตฅ xs = b) (xโ : n โ ๐) (q : โ) :
RCLike.re (quadForm A (xs - cgIterate A b xโ q)) โค
4 * ((โ(pseudoConditionNumber A) - 1) / (โ(pseudoConditionNumber A) + 1)) ^ (2 * q) *
RCLike.re (quadForm A (xs - xโ))Import NLAlib.Krylov.LinearSystems.CG.