NLA-lib Explorer

NLAlib.cgStep_x

Library ยท theorem

The iterate update of NLAlib.cgStep with the named step length.

NLAlib.cgStep_x.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n] (A : Matrix n n ๐•œ)
  (s : CGState ๐•œ n) : (cgStep A s).x = s.x + โ†‘(cgAlpha A s) โ€ข s.p

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.CGTridiagonal.