Public Member Functions | List of all members

#include <integration.h>

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::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::~FunctionIntegral ( )


Member Function Documentation

§ get_integral()

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: