| ibm_is_linear | R Documentation |
Implementations must return TRUE or FALSE.
If TRUE (returned by the default method unless the mapper
contains an is_linear variable), users of the mapper
may assume the mapper is linear/affine.
ibm_is_linear(mapper, ...)
## Default S3 method:
ibm_is_linear(mapper, ...)
## S3 method for class 'bm_multi'
ibm_is_linear(mapper, multi = FALSE, ...)
## S3 method for class 'bm_collect'
ibm_is_linear(mapper, inla_f = FALSE, multi = FALSE, ...)
## S3 method for class 'bm_expr'
ibm_is_linear(mapper, ...)
## S3 method for class 'bm_sum'
ibm_is_linear(mapper, multi = FALSE, ...)
mapper |
A mapper S3 object, inheriting from |
... |
Arguments passed on to other methods |
multi |
logical;
If |
inla_f |
logical; when |
logical; TRUE if the mapper is linear/affine, FALSE otherwise.
ibm_is_linear(default): Returns logical
is_linear from the mapper object if it exists, and otherwise TRUE.
Other mapper methods:
bru_mapper_generics,
ibm_as_taylor(),
ibm_eval(),
ibm_eval2(),
ibm_inla_subset(),
ibm_invalid_output(),
ibm_is_rowwise(),
ibm_jacobian(),
ibm_n(),
ibm_n_output(),
ibm_names(),
ibm_simplify(),
ibm_values()
m <- bm_linear()
ibm_is_linear(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.