Provides a pre-computed affine mapping,
internally used to represent and evaluate linearisation information.
The state0
information indicates for which state the offset
was
evaluated;
The affine mapper output is defined as
effect(state) = offset + jacobian %*% (state - state0)
Usage
bm_taylor(offset = NULL, jacobian = NULL, state0 = NULL, values_mapper = NULL)
bru_mapper_taylor(...)
Arguments
- offset
For
bm_taylor
, an offset vector giving the value of the linearisation atstate0
. May beNULL
, interpreted as an all-zero vector of length determined by a non-null Jacobian.- jacobian
For
bm_taylor()
, the Jacobian matrix, evaluated atstate0
, or, a named list of such matrices. May beNULL
or an empty list, for a constant mapping.- state0
For
bm_taylor
, the referencestate
for the linearisation, or a list of such states matching thejacobian
list.NULL
is interpreted as 0.- values_mapper
mapper object to be used for
ibm_n
andibm_values
forinla_f=TRUE
(experimental, currently unused)- ...
Arguments passed on to
bm_taylor()
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_logsumexp()
,
bm_marginal()
,
bm_matrix()
,
bm_mesh_B()
,
bm_multi()
,
bm_pipe()
,
bm_repeat()
,
bm_scale()
,
bm_shift()
,
bm_sum()
,
bru_get_mapper()
,
bru_mapper()
Other specific bm_taylor method implementations:
ibm_eval()
,
ibm_jacobian()
,
ibm_n()
,
ibm_n_output()
,
ibm_values()