NLAlib.integral_lanczosQuadrature
Library · theorem
The Lanczos rule integrates to the Lanczos quadrature: for every square \mathbf{A}, every f : \mathbb{R} \to \mathbb{R}, \mathbf{b} and q, \int f\,d\,\mathsf{lanczosQuadrature}(\mathbf{A}, \mathbf{b}, q) = \operatorname{Re}\,\mathbf{b}^{\mathsf{H}}\mathsf{lanczosFA}(\mathbf{A}, f, \mathbf{b}, q)\,; both sides are built from the same compression.
NLAlib.integral_lanczosQuadrature.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
[DecidableEq n] (A : Matrix n n 𝕜) (f : ℝ → ℝ) (b : n → 𝕜) (q : ℕ) :
∫ (x : ℝ), f x ∂lanczosQuadrature A b q = RCLike.re (star b ⬝ᵥ lanczosFA A f b q)Import NLAlib.Krylov.Functions.Quadrature.