Learn R Programming

cOde (version 1.1.1)

Automated C Code Generation for 'deSolve', 'bvpSolve'

Description

Generates all necessary C functions allowing the user to work with the compiled-code interface of ode() and bvptwp(). The implementation supports "forcings" and "events". Also provides functions to symbolically compute Jacobians, sensitivity equations and adjoint sensitivities being the basis for sensitivity analysis.

Copy Link

Version

Install

install.packages('cOde')

Monthly Downloads

548

Version

1.1.1

License

GPL (>= 2)

Maintainer

Daniel Kaschek

Last Published

February 23rd, 2022

Functions in cOde (1.1.1)

forcData

Forcings data.frame
bvptwpC

Interface to bvptwp()
oxygenData

Time-course data of O, O2 and O3
getSymbols

Get symbols from a character
funC

Generate C code for a function and compile it
adjointSymb

Compute adjoint equations of a function symbolically
compileAndLoad

Compile and load shared object implementing the ODE system.
jacobianSymb

Compute Jacobian of a function symbolically
prodSymb

Compute matrix product symbolically
replaceOperation

Replace a binary operator in a string by a function
replaceSymbols

Replace symbols in a character vector by other symbols
sumSymb

Compute matrix sumSymbolically
reduceSensitivities

reduceSensitivities
odeC

Interface to ode()
replaceNumbers

Replace integer number in a character vector by other double
setForcings

Generate interpolation spline for the forcings and write into list of matrices
sensitivitiesSymb

Compute sensitivity equations of a function symbolically