#include <trapezoid.h>
Public Member Functions | |
trapezoidal_integrator_state (Function &f, double a, double b) | |
unsigned int | iterations () const |
void | iterate () |
double | result () const |
unsigned int trapezoidal_integrator_state< Function >::iterations | ( | ) | const [inline] |
Access the current iteration.
void trapezoidal_integrator_state< Function >::iterate | ( | ) | [inline] |
Perform the next iteration of finding a root. The current state is updated with the newly compuated root data.
double trapezoidal_integrator_state< Function >::result | ( | ) | const [inline] |
Access the result of this root finding.