NLA-lib Explorer

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