sundialr
is a wrapper around a few of the solvers in the
SUNDIALS
ODE solving C library produced by the Lawrence
Livermore National Laboratory and Southern Methodist University. More
information about SUNDIALS
can be found here.
SUNDIALS
is one of the most popular and well-respected ODE
solving libraries available and sundialr
provides a way to
interface some of the SUNDIALS
solvers in
R
.
Currently sundialr
provides an interface to the
serial
versions of cvode
(for solving ODES),
cvodes
(for solving ODE with sensitivity equations) and
ida
(for solving differential-algebraic equations) using
the Linear Solver (dense version).
A convenience function cvsolve
is provided which allows
solving a system of equations with multiple discontinutities in
solution. An application of such a system of equations would be to
simulate the effect of multiple bolus doses of a drug in clinical
pharmacokinetics. See the vignette for more details.
SUNDIALS
to version 7.1.1.pkgdown
websiteSUNDIALS
(released in
March 2020) at the back end.cvsolve
is added. It allows solving ODEs
with multiple discontinuities in the solution. See a complete use case
in the vignette.pkgdown
create site of the package is added.SUNDIALS
(released in
Dec 2018) at the back end.CVODES
is added. It calculates forward
sensitivities w.r.t all parameters of the ODE system.