integrate abstract method

({List<double> guesses, double result}) integrate()

Calculates the numerical value of the definite function integral between lowerBound and upperBound. Returns a Record object whose members are:

  • a guesses named field, which contains the list of values generated by the algorithm on each step;

  • a result named field, which contains the evaluation of the integral in the [a, b] interval.

Implementation

({List<double> guesses, double result}) integrate();