rodeint

Build Status

rodeint logo

An R interface to odeint, using Rcpp for glue.

Documentation

Reference documentation is available here here (generated with staticdocs). Tutorial documentation and documentation for using compiled systems is not available yet.

As an example of what I'm aiming for, here is a simple harmonic oscillator, implemented as a function. The embedded R code at the bottom will run when passed through Rcpp::sourceCpp.

Similarly, here is the same system implemented as a small class. The book-keeping here is slightly greater, but allows for arbitrary calculations after parameters are set (e.g., precomputing values that would be used at all times).

Status

The package is not yet stable, but most features are now in place aside from better deSolve support and low level stepper features.

Help topics

  • integrate_const(integrate_adaptive, integrate_n_steps, integrate_times)
    Integrate a System of ODEs
  • make_integrate(make_integrate_pars)
    Make Integration Function
  • ode_system-class(ode_system)
    Systems of ODEs
  • partially_apply
    Partially Apply Arguments to a Function
  • stepper_deSolve-class(make_stepper_deSolve, make_stepper_deSolve_basic, make_stepper_deSolve_controlled, stepper_deSolve)
    Stepper (deSolve wrappers)
  • stepper-class(make_stepper, stepper, stepper_algorithms, stepper_categories)
    Create ODE Stepper

Dependencies

  • Depends:
  • Imports: Rcpp, methods
  • Suggests: testthat, deSolve
  • Extends: