Description Details Author(s) References
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.
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.
Timothy H. Keitt
http://www.keittlab.org/
Timothy H. Keitt tkeitt@gmail.com
https://github.com/thk686/odeintr, https://headmyshoulder.github.io/odeint-v2/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.