NLAlib.krylovMatrix_diagonal
Library ยท theorem
The Krylov matrix of a diagonal matrix: for \mathbf{d}, \mathbf{g} \in \Bbbk^t, \mathbf{K}_t(\operatorname{diag}(\mathbf{d}), \mathbf{g}) = \operatorname{diag}(\mathbf{g})\,\mathbf{V}\,,\qquad \mathbf{V}_{ij} = d_i^{\,j}\,, with \mathbf{V} the Vandermonde matrix of \mathbf{d}.
NLAlib.krylovMatrix_diagonal.{u_1} {๐ : Type u_1} [RCLike ๐] {t : โ} (d g : Fin t โ ๐) :
krylovMatrix (diagonal d) g t = diagonal g * vandermonde dImport NLAlib.Krylov.Basic.KrylovVandermonde.