https://github.com/richfitz/rodeint
Interface to boost's odeint-v2
https://github.com/richfitz/rodeint
Last synced: 11 months ago
JSON representation
Interface to boost's odeint-v2
- Host: GitHub
- URL: https://github.com/richfitz/rodeint
- Owner: richfitz
- License: other
- Created: 2014-04-29T11:19:02.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-18T11:29:19.000Z (about 12 years ago)
- Last Synced: 2025-04-10T02:58:35.749Z (over 1 year ago)
- Language: C++
- Homepage: http://richfitz.github.io/rodeint/
- Size: 1010 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rodeint
[](https://travis-ci.org/richfitz/rodeint)

An R interface to [odeint](http://headmyshoulder.github.io/odeint-v2/downloads.html), using [Rcpp](http://www.rcpp.org/) for glue.
## Documentation
Reference documentation is available here [here](http://richfitz.github.io/rodeint/) (generated with [staticdocs](https://github.com/hadley/staticdocs)). A tutorial introduction to making compiled systems is available [on the wiki](https://github.com/richfitz/rodeint/wiki/compiled). General tutorial documentation is not available yet.
As an example of what I'm aiming for, [here](https://github.com/richfitz/rodeint/blob/master/inst/examples/harmonic_oscillator_cpp.cpp) 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](https://github.com/richfitz/rodeint/blob/master/inst/examples/harmonic_oscillator_class.cpp) 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.