34#define INCLXX_IN_GEANT4_MODE 1
45#ifndef G4INCLIFUNCTION1D_HH_
46#define G4INCLIFUNCTION1D_HH_ 1
53 class InterpolationTable;
110 static const G4double integrationCoefficients[];
virtual G4double operator()(const G4double x) const =0
Compute the value of the function.
virtual G4double getXMaximum() const
Return the maximum allowed value of the independent variable.
G4double xMin
Minimum value of the independent variable.
IFunction1D * primitive() const
Return a pointer to the (numerical) primitive to this function.
G4double xMax
Maximum value of the independent variable.
virtual G4double integrate(const G4double x0, const G4double x1, const G4double step=-1.) const
Integrate the function between two values.
G4double(*const) ManipulatorFunc(const G4double)
Typedef to simplify the syntax of inverseCDFTable.
InterpolationTable * inverseCDFTable(ManipulatorFunc fWrap=0, const G4int nNodes=60) const
Return a pointer to the inverse of the CDF of this function.
virtual G4double getXMinimum() const
Return the minimum allowed value of the independent variable.
IFunction1D(const G4double x0, const G4double x1)
Class for interpolating the of a 1-dimensional function.