NLAlib.Krylov.Lanczos.Rounded.State.initial
Library · theorem
The primitive normalization guarantees assemble the initial state without another run assumption. The first direction's norm and its input mismatch are derived quantities.
NLAlib.Krylov.Lanczos.Rounded.State.initial {K : Type} [Inhabited K] {dec : K → ℝ} {n cap L : ℕ}
{V C : ℕ × ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {em u E : ℝ} {e : Ops.Blas1Err} {s : Ops.Store K}
{bs ys : List K} {b sigma : K} (hp : Krylov.Lanczos.Rounded.Precision em u E e n)
(hpack :
Krylov.Lanczos.Rounded.Packed dec cap 0 V C
(Krylov.Lanczos.Rounded.Values.initial (Ops.decv dec n ys) (dec b)) s)
(hprev : Krylov.Lanczos.StoresVec dec (L, 0) 0 s)
(hn : Ops.IsNrm2Err dec (e.dot n) u n (Ops.vec bs) b)
(hs : Ops.IsScalErr dec e.scal n b (Ops.vec bs) (Ops.vec ys))
(hz : Ops.decv dec n bs = 0 → Ops.decv dec n ys = 0) (hread : s.get (L + 2) 0 = some sigma)
(hd : Ops.IsDotErr dec (e.dot n) n (Ops.vec bs) (Ops.vec bs) sigma) :
Krylov.Lanczos.Rounded.State dec A (Ops.decv dec n bs) E cap 0 V C L
(Krylov.Lanczos.Rounded.Values.initial (Ops.decv dec n ys) (dec b)) sImport NLAlib.Krylov.Lanczos.Rounded.Initialization.