Create a constant mapper
See also
bru_mapper, bru_mapper_generics
Other mappers:
bm_aggregate(),
bm_collect(),
bm_factor(),
bm_fm_mesh_1d,
bm_fmesher(),
bm_harmonics(),
bm_index(),
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_const method implementations:
ibm_eval(),
ibm_jacobian(),
ibm_n(),
ibm_values()
Examples
m <- bm_const()
ibm_eval2(m, input = 1:4)
#> $offset
#> [1] 1 2 3 4
#>
#> $jacobian
#> 4 x 0 sparse Matrix of class "dgCMatrix"
#>
#> [1,]
#> [2,]
#> [3,]
#> [4,]
#>