NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.initializeRoutine_meets

Library · theorem

Exact arithmetic Oracle: matrix–vector product

Initialization meets its specification under exact scalar, vector and operator contracts: it establishes the initial state of the recurrence.

NLAlib.Krylov.CG.HSCG.initializeRoutine_meets {K Op Tst : Type} [Inhabited K]
  [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op] {M : Ops.Machine K}
  {dec : K → ℝ} {n : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {I : Ops.Interp Op Tst K}
  (hS : Ops.IsScalar M I) (hM : Ops.ExactModel dec M) (hB : Ops.IsExactBlas1 dec (fun x ↦ True) I)
  (hA : Ops.IsExactMatvec dec A I) :
  Krylov.CG.HSCG.initializeRoutine.Meets I (Krylov.CG.HSCG.initializeSpec dec A)

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Initialization.