trapezoidal_integrator_state< Function > Class Template Reference

#include <trapezoid.h>

List of all members.

Public Member Functions

 trapezoidal_integrator_state (Function &f, double a, double b)
unsigned int iterations () const
void iterate ()
double result () const


Detailed Description

template<class Function>
class trapezoidal_integrator_state< Function >

Internal state object used for numerical integration. This type is not intended to be use directly.

Member Function Documentation

template<class Function>
unsigned int trapezoidal_integrator_state< Function >::iterations (  )  const [inline]

Access the current iteration.

Returns:
the current iteration.

template<class Function>
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.

template<class Function>
double trapezoidal_integrator_state< Function >::result (  )  const [inline]

Access the result of this root finding.

Returns:
the root.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 22:22:16 2007 for numerics4c++ by  doxygen 1.5.3