NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.solvePeak

Library · def

Initialization and the round loop reuse their scratch, so their workspace is a maximum.

NLAlib.Krylov.CG.HSCG.solvePeak {Op : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op]
  [Ops.Has Ops.OperatorOp Op] (W : Op → List ℕ → ℕ) (n : ℕ) : ℕ

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Alg.