NLAlib.lanczosFA_sub
Library ยท theorem
Lanczos-FA is linear in the function, for every \mathbf{A}: \mathsf{lanczosFA}(\mathbf{A}, f - g, \mathbf{b}, q) = \mathsf{lanczosFA}(\mathbf{A}, f, \mathbf{b}, q) - \mathsf{lanczosFA}(\mathbf{A}, g, \mathbf{b}, q). No continuity is needed: matrix spectra are finite.
NLAlib.lanczosFA_sub.{u_1, u_2} {๐ : Type u_1} [RCLike ๐] {n : Type u_2} [Fintype n] [DecidableEq n]
(A : Matrix n n ๐) (f g : โ โ โ) (b : n โ ๐) (q : โ) :
lanczosFA A (fun x โฆ f x - g x) b q = lanczosFA A f b q - lanczosFA A g b qImport NLAlib.Krylov.Functions.LanczosFA.