The Lanczos method for matrix functions
Library · Source module
The Lanczos method for matrix functions
Lanczos-FA is defined mathematically, with no algorithm. The compressed function of \mathbf{A} on the column space of \mathbf{X} is \mathsf{compressedCfc}(\mathbf{A}, f, \mathbf{X}) = \mathbf{P}f(\mathbf{P}\mathbf{A}\mathbf{P})\mathbf{P} with \mathbf{P} = \mathbf{P}_{\mathbf{X}}; it depends on the subspace only and equals \mathbf{Q}f(\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q})\mathbf{Q}^{\mathsf{H}} for every orthonormal basis \mathbf{Q} of it. The function of the zero-padded compression \mathbf{P}\mathbf{A}\mathbf{P} is well defined for every f because a matrix spectrum is finite; the outer projectors remove the value f(0) that the padding contributes. The Lanczos-FA approximation to f(\mathbf{A})\mathbf{b} is the case of a Krylov space, \mathsf{lanczosFA}(\mathbf{A}, f, \mathbf{b}, q) = \mathsf{compressedCfc}(\mathbf{A}, f, \mathbf{K}_q(\mathbf{A}, \mathbf{b}))\,\mathbf{b}.
It is exact on polynomials of degree less than q, equals the interpolant of f at the Ritz values applied to \mathbf{b}, is within 2\varepsilon\|\mathbf{b}\| of f(\mathbf{A})\mathbf{b} when f is \varepsilon-close to a polynomial of degree less than q on an interval containing the spectrum, is CG for f(\mathbf{x}) = \mathbf{x}^{-1} and CG on \mathbf{A} + s\mathbf{I} for f(\mathbf{x}) = (\mathbf{x} + s)^{-1}, and is computed from the Lanczos recurrence as \|\mathbf{b}\|\,\mathbf{Q}f(\mathbf{T})\mathbf{e}_0.
Junk value: for non-Hermitian \mathbf{A} the compression is not Hermitian and the definition returns \mathbf{0} (Mathlib's cfc of a non-self-adjoint element); Arnoldi-FA is not covered.
Main definitions
* NLAlib.compressedCfc: \mathbf{P}f(\mathbf{P}\mathbf{A}\mathbf{P})\mathbf{P}. * NLAlib.lanczosFA: the Lanczos-FA approximation.
Main results
* NLAlib.HasOrthonormalCols.lanczosFA_eq: the frame form \mathbf{Q}f(\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q})\mathbf{Q}^{\mathsf{H}}\mathbf{b}. * NLAlib.HasOrthonormalCols.lanczosFA_eq_aeval_mulVec: interpolation at the Ritz values. * Matrix.IsHermitian.lanczosFA_eval: exactness for degree less than q. * Matrix.IsHermitian.norm_cfc_mulVec_sub_lanczosFA_le_of_isUniformApproxOn: the 2\varepsilon\|\mathbf{b}\| bound. * Matrix.IsHermitian.norm_cfc_mulVec_sub_lanczosFA_le_of_differentiableOn, Matrix.IsHermitian.norm_cfc_mulVec_sub_lanczosFA_le_of_lipschitzOnWith: explicit rates for analytic and for Lipschitz functions. * Matrix.IsHermitian.lanczosFA_inv_eq_cgIterate, Matrix.IsHermitian.lanczosFA_inv_add_eq_cgIterate: CG and shifted CG. * Matrix.IsHermitian.lanczosFA_eq_cfc_mulVec_of_krylovGrade_le: exact past the grade. * Matrix.IsHermitian.lanczosFA_eq_lanczosMatrix: the Lanczos recurrence computes it. * Matrix.IsHermitian.norm_cfc_mulVec_sub_lanczosFA_le_of_continuousOn: the bound 2E_q(f)\|\mathbf{b}\| after q + 1 steps.
Declarations
- Matrix.IsHermitian.compressedCfc_inv_eq_galerkinInverse
- Matrix.IsHermitian.lanczosFA_congr
- Matrix.IsHermitian.lanczosFA_eq_cfc_mulVec_of_krylovGrade_le
- Matrix.IsHermitian.lanczosFA_eq_lanczosMatrix
- Matrix.IsHermitian.lanczosFA_eval
- Matrix.IsHermitian.lanczosFA_inv_add_eq_cgIterate
- Matrix.IsHermitian.lanczosFA_inv_eq_cgIterate
- Matrix.IsHermitian.norm_cfc_mulVec_sub_lanczosFA_le_of_continuousOn
- Matrix.IsHermitian.norm_cfc_mulVec_sub_lanczosFA_le_of_differentiableOn
- Matrix.IsHermitian.norm_cfc_mulVec_sub_lanczosFA_le_of_isUniformApproxOn
- Matrix.IsHermitian.norm_cfc_mulVec_sub_lanczosFA_le_of_lipschitzOnWith
- NLAlib.HasOrthonormalCols.compressedCfc_eq
- NLAlib.HasOrthonormalCols.lanczosFA_eq
- NLAlib.HasOrthonormalCols.lanczosFA_eq_aeval_mulVec
- NLAlib.compressedCfc
- NLAlib.compressedCfc_eq_of_mul_conjTranspose_mul_self
- NLAlib.compressedCfc_eq_of_range_eq
- NLAlib.lanczosFA
- NLAlib.lanczosFA_eq_arnoldiMatrix
- NLAlib.lanczosFA_mem_krylovSpace
- NLAlib.lanczosFA_sub
- NLAlib.lanczosFA_zero