NLA-lib Explorer

NLAlib.LanczosData.gramStrictUpper

Library · def

The strict upper triangle of the Gram matrix of the computed basis: (\mathbf{R}_k)_{i,j} = \mathbf{v}_{i+1}^{\mathsf{T}}\mathbf{v}_{j+1} for i < j, and 0 otherwise.

NLAlib.LanczosData.gramStrictUpper {n k : ℕ} (D : LanczosData n k) : Matrix (Fin k) (Fin k) ℝ

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.LanczosData.