NLA-lib Explorer

NLAlib.Ops.axpyExactRel_decoded

Library · theorem

An exact axpy call gives the vector update on the decoded inputs.

NLAlib.Ops.axpyExactRel_decoded {K : Type} [Inhabited K] {dec : K → ℝ} {n : ℕ} {a : K}
  {xs ys zs : List K} (h : (Ops.axpyExactRel dec).rel [n] [[a], xs, ys] [] [zs]) :
  Ops.decv dec n zs = Ops.decv dec n ys + dec a • Ops.decv dec n xs

Full source on GitHub

Import NLAlib.Ops.Blas.Decoded.