NLA-lib Explorer

NLAlib.lanczosAlpha

Library ยท def

The diagonal coefficient of a Lanczos step, \alpha_j = \operatorname{Re}\langle\mathbf{q}_j, \mathbf{A}\mathbf{q}_j - \beta_j \mathbf{q}_{j-1}\rangle; in e\mathbf{x}act arithmetic and for \mathbf{H}ermitian \mathbf{A} it is \mathbf{q}_j^{\mathsf{H}}\mathbf{A}\mathbf{q}_j. Algorithm: lanczos

NLAlib.lanczosAlpha.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  (A : Matrix n n ๐•œ) (s : LanczosState ๐•œ n) : โ„

Full source on GitHub

Import NLAlib.Krylov.Processes.LanczosRecurrence.