NLA-lib Explorer

NLAlib.preconditionedLanczosAlpha

Library ยท def

The diagonal coefficient \alpha_j = \operatorname{Re}\langle\mathbf{z}_j, \mathbf{A}\mathbf{z}_j - \beta_j\mathbf{v}_{j-1}\rangle.

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

Full source on GitHub

Import NLAlib.Krylov.Processes.PreconditionedLanczos.