integrateOn method
Calculates the numerical value of the integral of this function using a NumericalIntegration algorithm.
Implementation
IntegralResults integrateOn(NumericalIntegration numericalIntegration) =>
numericalIntegration.integrate(function);