R/RcppExports.R
map_pars_2_ode.Rd
Map parameters to the deterministic mean incidence increments for a stochastic epidemic model.
map_pars_2_ode(
pathmat,
ode_times,
ode_pars,
ode_param_vec,
ode_param_inds,
ode_tcovar_inds,
init_start,
param_update_inds,
stoich_matrix,
forcing_inds,
forcing_tcov_inds,
forcings_out,
forcing_transfers,
step_size,
ode_pointer,
set_pars_pointer
)
matrix where the ODE path should be stored
vector of interval endpoint times
numeric matrix of parameters, constants, and time-varying covariates at each of the ode_times
index in the parameter vector where the initial compartment volumes start
logical vector indicating at which of the times the ode parameters need to be updated.
stoichiometry matrix giving the changes to compartments from each reaction
logical vector of indicating at which times in the time-varying covariance matrix a forcing is applied.
initial step size for the ODE solver (adapted internally, but too large of an initial step can lead to failure in stiff systems).
external pointer to ode integration function.
external pointer to the function for setting the ode parameters.
matrix containing the forcings.
List containing the ODE incidence and prevalence paths.