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

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