16 #ifndef ROOT_Math_GaussIntegrator 17 #define ROOT_Math_GaussIntegrator 19 #ifndef ROOT_Math_IFunction 23 #ifndef ROOT_Math_VirtualIntegrator 77 double Error ()
const;
202 double Integral (
const std::vector< double > &pts);
242 double operator()(
double x)
const;
243 double DoEval(
double x)
const;
250 double DoEval(
double x,
double boundary,
int sign)
const;
Interface (abstract) class for 1D numerical integration It must be implemented by the concrate Integr...
virtual void SetAbsTolerance(double eps)
This method is not implemented.
double IntegralUp(double a)
Returns Integral of function on an upper semi-infinite interval.
double Error() const
Return the estimate of the absolute Error of the last Integral calculation.
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
double Integral()
Returns Integral of function on an infinite interval.
GaussIntegrator(double absTol=-1, double relTol=-1)
Default Constructor.
virtual double DoIntegral(double a, double b, const IGenFunction *func)
Integration surrogate method.
double IntegralLow(double b)
Returns Integral of function on a lower semi-infinite interval.
virtual void SetRelTolerance(double eps)
Set the desired relative Error.
double IntegralCauchy(double a, double b, double c)
This method is not implemented.
int Status() const
return the status of the last integration - 0 in case of success
void AbsValue(bool flag)
Static function: set the fgAbsValue flag.
virtual ~GaussIntegrator()
Destructor.
Numerical one dimensional integration options.
virtual void SetOptions(const ROOT::Math::IntegratorOneDimOptions &opt)
set the options (should be re-implemented by derived classes -if more options than tolerance exist ...
User class for performing function integration.
double Result() const
Returns the result of the last Integral calculation.
void SetFunction(const IGenFunction &)
Set integration function (flag control if function must be copied inside).
virtual ROOT::Math::IntegratorOneDimOptions Options() const
get the option used for the integration
double func(double *x, double *p)
Namespace for new Math classes and functions.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
const IGenFunction * fFunction