31#ifndef ROOT_Math_GSLIntegrator
32#define ROOT_Math_GSLIntegrator
55 class GSLIntegrationWorkspace;
56 class GSLFunctionWrapper;
271 double Integral(
const std::vector<double> & pts)
override;
318 double Result()
const override;
323 double Error()
const override;
328 int Status()
const override;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Wrapper class to the gsl_function C structure.
Class for performing numerical integration of a function in one dimension.
void SetOptions(const ROOT::Math::IntegratorOneDimOptions &opt) override
set the options
Integration::GKRule fRule
void SetIntegrationRule(Integration::GKRule)
set the integration rule (Gauss-Kronrod rule).
~GSLIntegrator() override
GSLIntegrator & operator=(const GSLIntegrator &)
double Result() const override
return the Result of the last Integral calculation
double Error() const override
return the estimate of the absolute Error of the last Integral calculation
IntegrationOneDim::Type GetType() const
get type name
double IntegralCauchy(double a, double b, double c) override
evaluate the Cauchy principal value of the integral of a previously defined function f over the defin...
double IntegralUp(const IGenFunction &f, double a)
evaluate the Integral of a function f over the semi-infinite interval (a,+inf)
double IntegralLow(const IGenFunction &f, double b)
evaluate the Integral of a function f over the over the semi-infinite interval (-inf,...
GSLIntegrationWorkspace * fWorkspace
double Integral() override
evaluate the Integral over the infinite interval (-inf,+inf) using the function previously set with G...
GSLFunctionWrapper * fFunction
int NEval() const override
return number of function evaluations in calculating the integral
void SetAbsTolerance(double absTolerance) override
set the desired absolute Error
int Status() const override
return the Error Status of the last Integral calculation
ROOT::Math::IntegratorOneDimOptions Options() const override
get the option used for the integration
const char * GetTypeName() const
return the name
void SetFunction(const IGenFunction &f) override
method to set the a generic integration function
void SetRelTolerance(double relTolerance) override
set the desired relative Error
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
Numerical one dimensional integration options.
Interface (abstract) class for 1D numerical integration It must be implemented by the concrete Integr...
GKRule
enumeration specifying the Gauss-KronRod integration rule for ADAPTIVE integration type
Type
enumeration specifying the integration types.
Namespace for new Math classes and functions.
double(* GSLFuncPointer)(double, void *)
Function pointer corresponding to gsl_function signature.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...