Constructs a row-wise Kronecker product mapping of linear/affine mappers. Any offset in sub-mappers is added into a combined offset. Only linear/affine sub-mappers are allowed.
Usage
bm_multi(mappers, simplify = FALSE)
bru_mapper_multi(...)
# S3 method for class 'bm_multi'
x[i, drop = TRUE]
# S3 method for class 'bru_mapper_multi'
x[i, drop = TRUE]Arguments
- mappers
A list of
bru_mapperobjects- simplify
logical; If
TRUE, removes trivial submappers. Currently only sub-mappers of classbm_index()withibm_n() == 1Lare removed, and only if the mappers are named (to avoid ordering mismatches). Default:FALSE- ...
Arguments passed on to
bm_multi()- x
object from which to extract element(s)
- i
indices specifying element(s) to extract
- drop
logical; For
[.bm_multi, whether to extract an individual mapper wheniidentifies a single element. IfFALSE, a list of sub-mappers is returned (suitable e.g. for creating a newbm_multiobject). Default:TRUE
Value
[-indexing abm_multiextracts a subsetbm_multiobject (for dropFALSE) or an individual sub-mapper (for dropTRUE, andiidentifies a single element)
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_index(),
bm_linear(),
bm_logitaverage(),
bm_logsumexp(),
bm_marginal(),
bm_matrix(),
bm_mesh_B(),
bm_pipe(),
bm_repeat(),
bm_scale(),
bm_shift(),
bm_sum(),
bm_taylor(),
bru_get_mapper(),
bru_mapper()
Other specific bm_multi method implementations:
ibm_eval(),
ibm_invalid_output(),
ibm_is_linear(),
ibm_jacobian(),
ibm_linear(),
ibm_n(),
ibm_n_output(),
ibm_names(),
ibm_values()