NLA-lib Explorer

NLAlib.Ops.Standard.referenceModel

Library · def

An explicit idealized reference model with genuinely rounded scalar arithmetic and matvec: the identity operator returns (1+u) times its input in the rounded schemes. This witnesses all three model constructors; it is not a native floating-point certificate.

NLAlib.Ops.Standard.referenceModel {r b : ℕ} (P : Ops.Problem ℝ r b) (n : (Fin r → ℕ) → ℕ)
  (scheme : Ops.Standard.Scheme) (u : ℝ) (hu : 0 ≤ u) (cost : Ops.Standard.Costing)
  (matvecWork matvecWorkspace : List ℕ → ℕ) : Ops.Standard.Model P n

Full source on GitHub

Import NLAlib.Ops.Profiles.Standard.