NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.StoresState.read_r_z

Library · theorem

The residual and its preconditioned value are readable as their unique real-word lists.

NLAlib.Krylov.CG.HSPCG.StoresState.read_r_z {n : ℕ} {x r z p : ℕ × ℕ} {s : PCGState ℝ (Fin n)}
  {μ : Ops.Mem ℝ} (h : Krylov.CG.HSPCG.StoresState id n x r z p s μ) :
  μ.readBlocks [r, z] [n, n] = some [List.ofFn s.r, List.ofFn s.z]

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.State.