NLAlib.HasOrthonormalCols.lanczosQuadrature_eq
Library · theorem
The Lanczos rule in any orthonormal basis of the Krylov space: for every square \mathbf{A} and \mathbf{Q} with orthonormal columns spanning \mathcal{K}_q(\mathbf{A}, \mathbf{b}), \mathsf{lanczosQuadrature}(\mathbf{A}, \mathbf{b}, q) = \mu_{\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q},\,\mathbf{Q}^{\mathsf{H}}\mathbf{b}}; its atoms are the Ritz values. Both sides are 0 when \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q} is not Hermitian.
NLAlib.HasOrthonormalCols.lanczosQuadrature_eq.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} {r : Type u_3} [Fintype n] [DecidableEq n] [Fintype r] [DecidableEq r]
{Q : Matrix n r 𝕜} (hQ : HasOrthonormalCols Q) {A : Matrix n n 𝕜} {b : n → 𝕜} {q : ℕ}
(hK : Q.mulVecLin.range = krylovSpace A b q) :
lanczosQuadrature A b q = spectralMeasure (Qᴴ * A * Q) (Qᴴ *ᵥ b)Import NLAlib.Krylov.Functions.Quadrature.