NLA-lib Explorer

NLAlib.Ops.IsNrm2Err.eq_norm

Library · theorem

At zero dot and square-root error, the computed norm is the exact Euclidean norm.

NLAlib.Ops.IsNrm2Err.eq_norm {K : Type} [Inhabited K] {dec : K → ℝ} {n : ℕ} {xs : List K} {ν : K}
  (h : Ops.IsNrm2Err dec 0 0 n (Ops.vec xs) ν) : dec ν = ‖WithLp.toLp 2 (Ops.decv dec n xs)‖

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Math.NormGuard.