NLA-lib Explorer

Krylov matrices and Krylov spaces

Library · Source module

Krylov matrices and Krylov spaces

The Krylov matrix \mathbf{K}_q(\mathbf{A}, \mathbf{b}) = [\mathbf{b}, \mathbf{A}\mathbf{b}, \dots, \mathbf{A}^{q-1}\mathbf{b}] and its column space, the Krylov space \mathcal{K}_q(\mathbf{A}, \mathbf{b}). The space is the column space of a matrix, so the projector, rank, pseudoinverse and Gram–Schmidt API of the Matrix layer applies to it. Its vectors are the p(\mathbf{A})\mathbf{b} with \deg p < q, for polynomials over \Bbbk or over any subfield, in particular \mathbb{R}, which is how real polynomial bounds reach it.

The index q counts generators: \mathcal{K}_0 = \{\mathbf{0}\}, and q matrix-vector products reach \mathcal{K}_{q+1}.

Main definitions

* NLAlib.krylovMatrix: the Krylov matrix, columns indexed by Fin q. * NLAlib.krylovSpace: its column space.

Main results

* NLAlib.krylovSpace_eq_span, NLAlib.krylovSpace_succ: the span of the Krylov vectors, one generator per step. * NLAlib.mem_krylovSpace_iff: the polynomial description over \Bbbk[X]. * NLAlib.aeval_mulVec_mem_krylovSpace: membership for polynomials over any subfield. * NLAlib.krylovSpace_mono, NLAlib.mulVec_mem_krylovSpace_succ: monotonicity and \mathbf{A}\mathcal{K}_q \subseteq \mathcal{K}_{q+1}. * NLAlib.krylovSpace_add_smul_one: shift invariance, \mathcal{K}_q(\mathbf{A} + s\mathbf{I}, \mathbf{b}) = \mathcal{K}_q(\mathbf{A}, \mathbf{b}). * NLAlib.krylovMatrix_mul_mulVec, NLAlib.krylovSpace_mul_mulVec: a change of variables, \mathcal{K}_q(\mathbf{C}\mathbf{B}, \mathbf{C}\mathbf{v}) = \mathbf{C}\,\mathcal{K}_q(\mathbf{B}\mathbf{C}, \mathbf{v}), which maps a split Krylov space onto a preconditioned one.

Declarations