IntegralResults constructor

const IntegralResults({
  1. required List<double> guesses,
  2. required double result,
})

The list of guesses is iteratively built by the algorithm while the final result is the actual value of the integral in the [a, b] interval.

Implementation

const IntegralResults({
  required this.guesses,
  required this.result,
});