axpy, scal and copy as loops over scalar arithmetic
Library · Source module
axpy, scal and copy as loops over scalar arithmetic
Three elementwise loops, each a routine. The judgment of axpy and scal states the words the loop writes for any machine (NLAlib.Ops.axpyF, NLAlib.Ops.scalF); each error model reads its bound off those words by weakening the specification. The judgment of copy states the copied block directly. The invariant of each loop is a frame: the cells written so far hold a prefix of the result and the rest of the store is untouched.
Main results
* NLAlib.Ops.axpyLoopRoutine_meets_exact, NLAlib.Ops.scalLoopRoutine_meets_exact: the words written, for any machine. * NLAlib.Ops.axpyLoopRoutine_meets, NLAlib.Ops.scalLoopRoutine_meets, NLAlib.Ops.copyLoopRoutine_meets: the judgments under the standard model. * NLAlib.Ops.isAxpyErr_axpyF, NLAlib.Ops.isScalErr_scalF: the error bounds, (1 + u) ^ 2 - 1 and u.
Declarations
- NLAlib.Ops.axpyF
- NLAlib.Ops.axpyF_succ
- NLAlib.Ops.axpyLoop
- NLAlib.Ops.axpyLoopExactSpec
- NLAlib.Ops.axpyLoopRoutine
- NLAlib.Ops.axpyLoopRoutine_implements
- NLAlib.Ops.axpyLoopRoutine_meets
- NLAlib.Ops.axpyLoopRoutine_meets_exact
- NLAlib.Ops.axpyLoop_satisfies
- NLAlib.Ops.copyLoop
- NLAlib.Ops.copyLoopRoutine
- NLAlib.Ops.copyLoopRoutine_implements
- NLAlib.Ops.copyLoopRoutine_meets
- NLAlib.Ops.copyLoop_satisfies
- NLAlib.Ops.isAxpyErr_axpyF
- NLAlib.Ops.isScalErr_scalF
- NLAlib.Ops.length_axpyF
- NLAlib.Ops.length_scalF
- NLAlib.Ops.scalF
- NLAlib.Ops.scalF_succ
- NLAlib.Ops.scalLoop
- NLAlib.Ops.scalLoopExactSpec
- NLAlib.Ops.scalLoopRoutine
- NLAlib.Ops.scalLoopRoutine_implements
- NLAlib.Ops.scalLoopRoutine_meets
- NLAlib.Ops.scalLoopRoutine_meets_exact
- NLAlib.Ops.scalLoop_satisfies