NLAlib.LanczosData.dotProduct_gramCommutator_mulVec
Library · theorem
The Gram commutator in the quadratic form of an eigenvector: for \mathbf{T}_k\mathbf{y} = \theta\mathbf{y}, \mathbf{y}^{\mathsf{T}}\mathbf{M}_k\mathbf{y} = -\mathbf{x}^{\mathsf{T}}(\beta_k\mathbf{v}_{k+1})\, y_{k-1} with \mathbf{x} = \mathbf{V}_k\mathbf{y}: the commutator \mathbf{T}_k\mathbf{R}_k - \mathbf{R}_k\mathbf{T}_k vanishes there.
NLAlib.LanczosData.dotProduct_gramCommutator_mulVec {n k : ℕ} (D : LanczosData n k) {y : Fin k → ℝ}
{θ : ℝ} (hy : D.tridiagonal *ᵥ y = θ • y) :
y ⬝ᵥ D.gramCommutator *ᵥ y = -(D.basis *ᵥ y ⬝ᵥ D.β k • D.v (k + 1) * y D.lastIndex)Import NLAlib.Krylov.FinitePrecision.LanczosData.