update_tmb_indices: Update TMB Indices

View source: R/tmb.R

update_tmb_indicesR Documentation

Update TMB Indices

Description

Add or update indices used to access appropriate values during simulation and calibration using TMB

Usage

update_tmb_indices(model)

add_tmb_indices(model)

tmb_indices(model)

Arguments

model

flexmodel object

Details

make_ratemat_indices$from
make_ratemat_indices$to
make_ratemat_indices$count
updateidx

indices into the to, from, and count vectors, identifying rates that need (or at least will) be updated at every simulation step

See Also

Other flexmodel_definition_functions: add_factr(), add_linearized_outflow(), add_parallel_accumulators(), add_rate(), add_state_mappings(), add_state_param_sum(), initial_population(), mat_rate(), rep_rate(), update_disease_free_state(), update_linearized_params(), vec_rate()


bbolker/McMasterPandemic documentation built on Aug. 25, 2024, 6:35 p.m.