+
class ROOT::Math::Integrator
-
library: libMathMore
#include "Integrator.h"
Display options:
Show inherited
Show non-public

class ROOT::Math::Integrator

Function Members (Methods)

public:
virtual~Integrator()
doubleError() const
doubleIntegral()
doubleIntegral(const ROOT::Math::IGenFunction& f)
doubleIntegral(const vector<double>& pts)
doubleIntegral(const ROOT::Math::IGenFunction& f, const vector<double>& pts)
doubleIntegral(double a, double b)
doubleIntegral(ROOT::Math::Integrator::GSLFuncPointer f, void* p)
doubleIntegral(const ROOT::Math::IGenFunction& f, double a, double b)
doubleIntegral(ROOT::Math::Integrator::GSLFuncPointer f, void* p, const vector<double>& pts)
doubleIntegral(ROOT::Math::Integrator::GSLFuncPointer f, void* p, double a, double b)
doubleIntegralLow(double b)
doubleIntegralLow(const ROOT::Math::IGenFunction& f, double b)
doubleIntegralLow(ROOT::Math::Integrator::GSLFuncPointer f, void* p, double b)
doubleIntegralUp(double a)
doubleIntegralUp(const ROOT::Math::IGenFunction& f, double a)
doubleIntegralUp(ROOT::Math::Integrator::GSLFuncPointer f, void* p, double a)
ROOT::Math::IntegratorIntegrator(double absTol = 1.E-9, double relTol = 1E-6, size_t size = 1000)
ROOT::Math::IntegratorIntegrator(const ROOT::Math::IGenFunction& f, double absTol = 1.E-9, double relTol = 1E-6, size_t size = 1000)
ROOT::Math::IntegratorIntegrator(ROOT::Math::Integrator::GSLFuncPointer f, double absTol = 1.E-9, double relTol = 1E-6, size_t size = 1000)
ROOT::Math::IntegratorIntegrator(ROOT::Math::Integration::Type type, double absTol = 1.E-9, double relTol = 1E-6, size_t size = 1000)
ROOT::Math::IntegratorIntegrator(const ROOT::Math::IGenFunction& f, ROOT::Math::Integration::Type type, double absTol = 1.E-9, double relTol = 1E-6, size_t size = 1000)
ROOT::Math::IntegratorIntegrator(ROOT::Math::Integrator::GSLFuncPointer f, ROOT::Math::Integration::Type type, double absTol = 1.E-9, double relTol = 1E-6, size_t size = 1000)
ROOT::Math::IntegratorIntegrator(ROOT::Math::Integration::Type type, ROOT::Math::Integration::GKRule rule, double absTol = 1.E-9, double relTol = 1E-6, size_t size = 1000)
ROOT::Math::IntegratorIntegrator(const ROOT::Math::IGenFunction& f, ROOT::Math::Integration::Type type, ROOT::Math::Integration::GKRule rule, double absTol = 1.E-9, double relTol = 1E-6, size_t size = 1000)
ROOT::Math::IntegratorIntegrator(ROOT::Math::Integrator::GSLFuncPointer f, ROOT::Math::Integration::Type type, ROOT::Math::Integration::GKRule rule, double absTol = 1.E-9, double relTol = 1E-6, size_t size = 1000)
doubleResult() const
voidSetAbsTolerance(double absTolerance)
voidSetFunction(const ROOT::Math::IGenFunction& f)
voidSetFunction(const ROOT::Math::Integrator::GSLFuncPointer& f)
voidSetIntegrationRule(ROOT::Math::Integration::GKRule)
voidSetRelTolerance(double relTolerance)
intStatus() const
private:
ROOT::Math::IntegratorIntegrator(const ROOT::Math::Integrator&)
ROOT::Math::Integrator&operator=(const ROOT::Math::Integrator&)

Data Members

private:
ROOT::Math::GSLIntegrator*fIntegrator

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Integrator(Integration::Type type , Integration::GKRule rule, double absTol, double relTol, size_t size)
 full constructor
Integrator(const IGenFunction &f, Integration::Type type , Integration::GKRule rule, double absTol, double relTol, size_t size)
 full constructor with IGenFunction
Integrator(GSLFuncPointer f, Integration::Type type , Integration::GKRule rule, double absTol, double relTol, size_t size)
 full constructor with GSL function pointer type
Integrator(double absTol = 1.E-9, double relTol = 1E-6, size_t size = 1000)
 constructor with default type (ADaptiveSingular) ,  rule is not needed
Integrator(const IGenFunction &f, double absTol, double relTol, size_t size)
 constructor with default type (ADaptiveSingular) ,  rule is not needed
Integrator(GSLFuncPointer f, double absTol, double relTol, size_t size)
 constructor with GSL function pointer type and with default type (ADaptiveSingular) ,  rule is not needed
Integrator(Integration::Type type , double absTol, double relTol, size_t size)
 constructor with default rule (gauss31) passing the type
Integrator(const IGenFunction &f, Integration::Type type , double absTol, double relTol, size_t size)
 constructor with default rule (gauss31) passing the type
Integrator(GSLFuncPointer f, Integration::Type type , double absTol, double relTol, size_t size)
 constructor with GSL function pointer type and with default rule (gauss31) passing the type
~Integrator()
 destructor
Integrator(const ROOT::Math::Integrator& )
void SetFunction(const IGenFunction &f)
 set with IGenFunction type
void SetFunction( const GSLFuncPointer &f)
 set with GSL function type
double Integral(double a, double b)
 evaluation defined integral
double Integral( const std::vector<double> & pts)
 evaluation singular integral
double Integral( )
 Eval for indefined integrals: use QAGI method
double IntegralUp(double a)
 Integral between [a, + inf]
double IntegralLow(double b)
 Integral between [-inf, + b]
double Integral(const IGenFunction & f, double a, double b)
 evaluation using generic function interface
double Integral(const IGenFunction & f )
 evaluation using generic function interface
double IntegralUp(const ROOT::Math::IGenFunction& f, double a)
 evaluation using generic function interface
double IntegralLow(const ROOT::Math::IGenFunction& f, double b)
 evaluation using generic function interface
double Integral(const IGenFunction & f, const std::vector<double> & pts)
 evaluation using generic function interface
double Integral(ROOT::Math::Integrator::GSLFuncPointer f, void* p, double a, double b)
 eval using GSL function pointer type
double Integral( GSLFuncPointer f, void * p )
 eval using GSL function pointer type
double IntegralUp(ROOT::Math::Integrator::GSLFuncPointer f, void* p, double a)
 eval using GSL function pointer type
double IntegralLow(ROOT::Math::Integrator::GSLFuncPointer f, void* p, double b)
 eval using GSL function pointer type
double Integral( GSLFuncPointer f, void * p, const std::vector<double> & pts )
 eval using GSL function pointer type
double Result()
{ return fIntegrator->Result(); }
double Error()
{ return fIntegrator->Error(); }
int Status()
{ return fIntegrator->Status(); }
void SetAbsTolerance(double absTolerance)
 abs tolerance setter
void SetRelTolerance(double relTolerance)
 rel tolerance setter
void SetIntegrationRule(ROOT::Math::Integration::GKRule )
 set rule
Integrator & operator=(const ROOT::Math::Integrator& )

Last update: root/mathmore:$Name: $:$Id: Integrator.cxx,v 1.6 2006/12/11 15:06:37 moneta Exp $
Copyright (c) 2004 ROOT Foundation, CERN/PH-SFT *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.