FunctionIntegral Class Reference
[Classes of the ODIN data processing framework (odindata library)]

#include <integration.h>

List of all members.

Public Member Functions

 FunctionIntegral (const Integrand &func, unsigned int max_subintervals=1000, double error_limit=1e-7)
 ~FunctionIntegral ()
double get_integral (double xmin, double xmax) const


Detailed Description

Class which is used for integration of functions.

Definition at line 63 of file integration.h.


Constructor & Destructor Documentation

FunctionIntegral::FunctionIntegral ( const Integrand func,
unsigned int  max_subintervals = 1000,
double  error_limit = 1e-7 
)

Prepare an integration of function 'func' with 'max_subintervals' at which the function will be calculated and the specified relative 'error_limit'.

FunctionIntegral::~FunctionIntegral (  ) 

Destructor


Member Function Documentation

double FunctionIntegral::get_integral ( double  xmin,
double  xmax 
) const

Returns the integral from 'xmin' to 'xmax'.


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

Generated on Wed Sep 30 15:33:05 2009 by  doxygen 1.5.6