gridripper::math::Integrator1D Class Reference

Integration of non-ungrid one-argument function. More...

#include <Integrator1D.h>

Inheritance diagram for gridripper::math::Integrator1D:

gridripper::math::SimpsonIntegrator1D gridripper::math::TrapesoidalIntegrator1D

List of all members.

Public Member Functions

virtual GReal_t integrate (const GReal_t *x, const GReal_t *f, int start, int n) const =0 throw (IllegalArgumentException&)
 Integrates a function specified by a data set.
virtual string toString () const =0
 Returns a string representation.

Protected Member Functions

 Integrator1D ()
 Constructs an integrator.
 Integrator1D (const Integrator1D &)
 Copy constructor.


Detailed Description

Integration of non-ungrid one-argument function.

Version:
0.5, 03/01/2008
Author:
Andras Laszlo

Peter Csizmadia


Constructor & Destructor Documentation

gridripper::math::Integrator1D::Integrator1D (  )  [inline, protected]

Constructs an integrator.

gridripper::math::Integrator1D::Integrator1D ( const Integrator1D  )  [inline, protected]

Copy constructor.


Member Function Documentation

virtual GReal_t gridripper::math::Integrator1D::integrate ( const GReal_t x,
const GReal_t f,
int  start,
int  n 
) const throw (IllegalArgumentException&) [pure virtual]

Integrates a function specified by a data set.

Parameters:
x the array of x coordinates
f the array of values
start the starting index
n the number of points
Returns:
the integral

Implemented in gridripper::math::TrapesoidalIntegrator1D, and gridripper::math::SimpsonIntegrator1D.

virtual string gridripper::math::Integrator1D::toString (  )  const [pure virtual]

Returns a string representation.

Implemented in gridripper::math::TrapesoidalIntegrator1D, and gridripper::math::SimpsonIntegrator1D.


The documentation for this class was generated from the following file:

Generated on Wed Jun 17 18:46:54 2009 for GridRipper by  doxygen 1.5.6