adaptive.IntegratorLearner¶
-
class
adaptive.IntegratorLearner(function, bounds, tol)[source]¶ Bases:
adaptive.learner.base_learner.BaseLearner-
approximating_intervals¶
-
err¶
-
igral¶
-
loss(real=True)[source]¶ Return the loss for the current state of the learner.
- Parameters
real (bool, default: True) – If False, return the “expected” loss, i.e. the loss including the as-yet unevaluated points (possibly by interpolation).
-
npoints¶ Number of evaluated points.
-