Create a an indexing mapper
See also
bru_mapper, bru_mapper_generics
Other mappers:
bm_aggregate(),
bm_collect(),
bm_const(),
bm_factor(),
bm_fm_mesh_1d,
bm_fmesher(),
bm_harmonics(),
bm_linear(),
bm_logitaverage(),
bm_logsumexp(),
bm_marginal(),
bm_matrix(),
bm_mesh_B(),
bm_multi(),
bm_pipe(),
bm_repeat(),
bm_scale(),
bm_shift(),
bm_sum(),
bm_taylor(),
bru_get_mapper(),
bru_mapper()
Other specific bm_index method implementations:
ibm_invalid_output(),
ibm_jacobian()
Examples
m <- bm_index(4)
ibm_eval(m, -2:6, 1:4)
#> [1] 0 0 0 1 2 3 4 0 0