Implementations must return a list with elements offset
and jacobian
.
The input
contents must
be in a format accepted by ibm_jacobian()
for the mapper.
Usage
ibm_eval2(mapper, input, state = NULL, ...)
# Default S3 method
ibm_eval2(mapper, input, state, ...)
# S3 method for class 'bm_pipe'
ibm_eval2(mapper, input, state = NULL, ...)
Methods (by class)
ibm_eval2(default)
: Callsjacobian <- ibm_jacobian(...)
andoffset <- ibm_eval(..., jacobian = jacobian)
and returns a list with elementsoffset
andjacobian
, as needed byibm_linear.default()
and similar methods. Mapper classes can implement their ownibm_eval2
method if joint construction of evaluation and Jacobian is more efficient than separate or sequential construction.
See also
Other mapper methods:
bru_mapper_generics
,
ibm_eval()
,
ibm_inla_subset()
,
ibm_invalid_output()
,
ibm_is_linear()
,
ibm_jacobian()
,
ibm_linear()
,
ibm_n()
,
ibm_n_output()
,
ibm_names()
,
ibm_simplify()
,
ibm_values()
Other specific bm_pipe method implementations:
bm_pipe()
,
ibm_eval()
,
ibm_jacobian()
,
ibm_n()
,
ibm_n_output()
,
ibm_simplify()
,
ibm_values()