odeintr_package: Odeintr: Fast and Flexible Integration of Ordinary...

Description Details Author(s) References

Description

This package is a light-weight wrapper around the Boost ODEINT library. It allows one to specify an ODE system in a few lines of C++. This code is inserted into a template that is compiled. The resulting Rcpp function will integrate the system.

Details

You can also specify the model as an R function. Unlike existing packages, you can also supply an observer function that can return arbitrary data structures.

The main function is compile_sys, which takes a snippet of C++ code calculating dervatives and compiles an integrator function.

The function integrate_sys accepts an R function defining the system and an observer function to record the output in a data frame or list.

Author(s)

Timothy H. Keitt
http://www.keittlab.org/

Timothy H. Keitt tkeitt@gmail.com

References

http://github.com/thk686/odeintr, http://headmyshoulder.github.io/odeint-v2/


odeintr documentation built on May 2, 2019, 6:12 p.m.