Example: an explicit integrator, certified
Library · Source module
Example: an explicit integrator, certified
The example of the page Programs, models and certificates: the integrator \mathbf{x}_{t+1} = \mathbf{x}_t + h \mathbf{A} \mathbf{x}_t written over two operations, a product with \mathbf{A} and a vector update, each known only through its contract.
Main definitions
* NLAlib.Ops.Examples.Integrator.MyOperation: the two operations. * NLAlib.Ops.Examples.Integrator.myStep, NLAlib.Ops.Examples.Integrator.myIntegrate: the routines. * NLAlib.Ops.Examples.Integrator.myMatvecRel, NLAlib.Ops.Examples.Integrator.myAxpyRel: the contracts.
Main results
* NLAlib.Ops.Examples.Integrator.myStep_meets: one step, with its error. * NLAlib.Ops.Examples.Integrator.myIntegrate_meets: the integrator, with its accuracy bound. * NLAlib.Ops.Examples.Integrator.myAlgorithm: the certificate, with closed-form work, span and scratch. * NLAlib.Ops.Examples.Integrator.myProgram_calls, NLAlib.Ops.Examples.Integrator.myProgram_peak: the calls and the scratch of the tree.
Declarations
- NLAlib.Ops.Examples.Integrator.MyOperation
- NLAlib.Ops.Examples.Integrator.MyOperation.ofNat
- NLAlib.Ops.Examples.Integrator.MyOperation.ofNat_ctorIdx
- NLAlib.Ops.Examples.Integrator.confined_myModel
- NLAlib.Ops.Examples.Integrator.initialBytes_myProblem
- NLAlib.Ops.Examples.Integrator.iterate_bound
- NLAlib.Ops.Examples.Integrator.myAlgorithm
- NLAlib.Ops.Examples.Integrator.myAxpyRel
- NLAlib.Ops.Examples.Integrator.myAxpyRel_dom
- NLAlib.Ops.Examples.Integrator.myAxpyRel_eq
- NLAlib.Ops.Examples.Integrator.myAxpyRel_inLens
- NLAlib.Ops.Examples.Integrator.myAxpyRel_nd
- NLAlib.Ops.Examples.Integrator.myAxpyRel_outLens
- NLAlib.Ops.Examples.Integrator.myAxpyRel_rel
- NLAlib.Ops.Examples.Integrator.myAxpyRel_stream
- NLAlib.Ops.Examples.Integrator.myAxpyRel_win
- NLAlib.Ops.Examples.Integrator.myBlocks
- NLAlib.Ops.Examples.Integrator.myBlocks_eq
- NLAlib.Ops.Examples.Integrator.myDomain
- NLAlib.Ops.Examples.Integrator.myEta
- NLAlib.Ops.Examples.Integrator.myEta_nonneg
- NLAlib.Ops.Examples.Integrator.myExact
- NLAlib.Ops.Examples.Integrator.myExactAxpy
- NLAlib.Ops.Examples.Integrator.myExactMatvec
- NLAlib.Ops.Examples.Integrator.myExactMatvec_satisfies
- NLAlib.Ops.Examples.Integrator.myExact_axpy
- NLAlib.Ops.Examples.Integrator.myExact_matvec
- NLAlib.Ops.Examples.Integrator.myGood
- NLAlib.Ops.Examples.Integrator.myIntegrate
- NLAlib.Ops.Examples.Integrator.myIntegrateSpec
- NLAlib.Ops.Examples.Integrator.myIntegrateSpec_post
- NLAlib.Ops.Examples.Integrator.myIntegrate_checked
- NLAlib.Ops.Examples.Integrator.myIntegrate_meets
- NLAlib.Ops.Examples.Integrator.myMatvecRel
- NLAlib.Ops.Examples.Integrator.myMatvecRel_dom
- NLAlib.Ops.Examples.Integrator.myMatvecRel_inLens
- NLAlib.Ops.Examples.Integrator.myMatvecRel_nd
- NLAlib.Ops.Examples.Integrator.myMatvecRel_outLens
- NLAlib.Ops.Examples.Integrator.myMatvecRel_rel
- NLAlib.Ops.Examples.Integrator.myMatvecRel_stream
- NLAlib.Ops.Examples.Integrator.myMatvecRel_win
- NLAlib.Ops.Examples.Integrator.myModel
- NLAlib.Ops.Examples.Integrator.myProblem
- NLAlib.Ops.Examples.Integrator.myProgram
- NLAlib.Ops.Examples.Integrator.myProgramWork
- NLAlib.Ops.Examples.Integrator.myProgram_calls
- NLAlib.Ops.Examples.Integrator.myProgram_certifies
- NLAlib.Ops.Examples.Integrator.myProgram_peak
- NLAlib.Ops.Examples.Integrator.myResources
- NLAlib.Ops.Examples.Integrator.mySpec
- NLAlib.Ops.Examples.Integrator.myStep
- NLAlib.Ops.Examples.Integrator.myStepSpec
- NLAlib.Ops.Examples.Integrator.myStep_meets
- NLAlib.Ops.Examples.Integrator.myWork
- NLAlib.Ops.Examples.Integrator.norm_axpy_err_le
- NLAlib.Ops.Examples.Integrator.norm_mulVec_le
- NLAlib.Ops.Examples.Integrator.norm_toLp_abs
- NLAlib.Ops.Examples.Integrator.norm_toLp_add_le
- NLAlib.Ops.Examples.Integrator.norm_toLp_le
- NLAlib.Ops.Examples.Integrator.norm_toLp_smul
- NLAlib.Ops.Examples.Integrator.not_charged_myModel
- NLAlib.Ops.Examples.Integrator.span_myProgram
- NLAlib.Ops.Examples.Integrator.step_bound
- NLAlib.Ops.Examples.Integrator.uniform_myModel
- NLAlib.Ops.Examples.Integrator.vec_ofFn
- NLAlib.Ops.Examples.Integrator.work_myProgram