A class for numerical integration
Usage
# S4 method for Integrator
initialize(
.Object,
max_subdivisions = 100,
relative_accuracy = .Machine$double.eps^0.25,
absolute_accuracy = relative_accuracy,
work_size = 4 * max_subdivisions
)
# S4 method for Integrator
$(x, name)
# S4 method for Integrator
$(x, name) <- value
Functions
initialize(Integrator)
: Construct an object of classIntegrator
.$
: Either access configuration parametersmax_subdivisions
,relative_accuracy
,absolute_accuracy
, orwork_size
or get the integration routine with signaturefunction(f, lower, upper, ..., stop_on_error = TRUE)
.`$`(Integrator) <- value
: Set any of the configuration parametersmax_subdivisions
,relative_accuracy
,absolute_accuracy
, orwork_size
.
See also
Other test-helper:
catch_what()
,
integrate