odin

ODE Generation and Integration

CRAN Package

Generate systems of ordinary differential equations (ODE) and integrate them, using a domain specific language (DSL). The DSL uses R's syntax, but compiles to C in order to efficiently solve the system. A solver is not provided, but instead interfaces to the packages 'deSolve' and 'dde' are generated. With these, while solving the differential equations, no allocations are done and the calculations remain entirely in compiled code. Alternatively, a model can be transpiled to R for use in contexts where a C compiler is not present. After compilation, models can be inspected to return information about parameters and outputs, or intermediate values after calculations. 'odin' is not targeted at any particular domain and is suitable for any system that can be expressed primarily as mathematical expressions. Additional support is provided for working with delays (delay differential equations, DDE), using interpolated functions during interpolation, and for integrating quantities that represent arrays.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 969 times in the last 30 days. This could be a paper that people cite without reading. Reaching the medium popularity echelon is no small feat! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 73 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
19 downloadsMar 23, 2025
74 downloadsMar 24, 2025
12 downloadsMar 25, 2025
14 downloadsMar 26, 2025
19 downloadsMar 27, 2025
104 downloadsMar 28, 2025
2 downloadsMar 29, 2025
9 downloadsMar 30, 2025
9 downloadsMar 31, 2025
75 downloadsApr 1, 2025
11 downloadsApr 2, 2025
18 downloadsApr 3, 2025
7 downloadsApr 4, 2025
68 downloadsApr 5, 2025
7 downloadsApr 6, 2025
21 downloadsApr 7, 2025
8 downloadsApr 8, 2025
70 downloadsApr 9, 2025
9 downloadsApr 10, 2025
22 downloadsApr 11, 2025
95 downloadsApr 12, 2025
6 downloadsApr 13, 2025
20 downloadsApr 14, 2025
82 downloadsApr 15, 2025
14 downloadsApr 16, 2025
13 downloadsApr 17, 2025
79 downloadsApr 18, 2025
6 downloadsApr 19, 2025
3 downloadsApr 20, 2025
73 downloadsApr 21, 2025
0 downloadsApr 22, 2025
0 downloadsApr 23, 2025
0 downloadsApr 24, 2025
0 downloadsApr 25, 2025
0 downloadsApr 26, 2025
2
104

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 11,845 times in the last 365 days. The academic equivalent of having a dedicated subreddit. There are fans, and maybe even a few trolls! The day with the most downloads was Jul 21, 2024 with 151 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports8 packages
  • Suggests9 packages