The Stan Math Library is a C++ template library for automatic differentiation of any order using forward, reverse, and mixed modes. It includes a range of built-in functions for probabilistic modeling, linear algebra, and equation solving.
In ODE models some components can be solved analytically such that some state components are given in closed form and some need to be solved numerically. To maintain code consistency in these models it would be nice to have a function that parallels integrate_ode but instead of calling an ODE solver to evolve the state just applies a user-defined function,
From @betanalpha on May 21, 2015 12:55
In ODE models some components can be solved analytically such that some state components are given in closed form and some need to be solved numerically. To maintain code consistency in these models it would be nice to have a function that parallels
integrate_ode
but instead of calling an ODE solver to evolve the state just applies a user-defined function,Copied from original issue: stan-dev/stan#1456