Build and simulate jump equations like Gillespie simulations and jump diffusions with constant and state-dependent rates and mix with differential equations and scientific machine learning (SciML)
I noticed after the recent PRs that RSSA/RSSACR still show number of time steps dependent allocations. After some profiling I believe this is because they call rate functions with views from a rate bound matrix for the upper and lower bounds on u, when the function wrappers are concretely typed based on the type of u. So we need to switch to storing the upper and lower bounds in elements of the same type as u in these steppers.
I noticed after the recent PRs that RSSA/RSSACR still show number of time steps dependent allocations. After some profiling I believe this is because they call rate functions with views from a rate bound matrix for the upper and lower bounds on
u
, when the function wrappers are concretely typed based on the type ofu
. So we need to switch to storing the upper and lower bounds in elements of the same type asu
in these steppers.