NLAlib.Krylov.Lanczos.Reorth.cgs2Routine_meets
Library · theorem
Two passes succeed at every admitted dimension and basis rank, with actual error witnesses. Each pass is a call of the classical pass on the shared coefficient scratch.
NLAlib.Krylov.Lanczos.Reorth.cgs2Routine_meets {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.Blas1Op Op] [Inhabited K] {M : Ops.Machine K} {dec : K → ℝ} {ed : ℕ → ℝ} {ea : ℝ}
{ok : ℕ → Prop} {I : Ops.Interp Op Tst K} (hS : Ops.IsScalar M I)
(hD :
I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot)
((Ops.dotRel dec ed).spec (Ops.OutApart ok)))
(hA :
I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.axpy)
((Ops.axpyRel dec ea).spec (Ops.InPlace ok)))
(hneg : ∀ (a : K), dec (M.neg a) = -dec a) :
Krylov.Lanczos.Reorth.cgs2Routine.Meets I (Krylov.Lanczos.Reorth.cgs2Spec dec ed ea ok)Import NLAlib.Krylov.Lanczos.Reorth.TwoPass.