NLAlib.HasOrthonormalCols.isOrthogonalPolynomial_nodal
Library ยท theorem
The Ritz polynomial is the orthogonal polynomial: for Hermitian \mathbf{A} and \mathbf{Q} with orthonormal columns spanning \mathcal{K}_q(\mathbf{A}, \mathbf{b}), the nodal polynomial \pi(z) = \prod_{\theta\in s}(z - \theta) of the set s of distinct Ritz values (the eigenvalues of \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q}) is orthogonal in L^2(\mu_{\mathbf{A},\mathbf{b}}) to every real polynomial of degree less than q. [GolubMeurant2010, Ch. 4]; there through the Lanczos polynomials.
NLAlib.HasOrthonormalCols.isOrthogonalPolynomial_nodal.{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 ๐} (hA : A.IsHermitian) {b : n โ ๐}
{q : โ} (hK : Q.mulVecLin.range = krylovSpace A b q) {s : Finset โ}
(hs : โs = spectrum โ (Qแดด * A * Q)) :
IsOrthogonalPolynomial (spectralMeasure A b) q (Lagrange.nodal s id)Import NLAlib.Krylov.Functions.Quadrature.