NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.initializeState

Library · def

Set the residual and direction from the right-hand side and initial iterate. Scratch consists of one matrix-vector output and the scalar minus one.

NLAlib.Krylov.CG.HSCG.initializeState {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op] : Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Alg.