33 #define INCLXX_IN_GEANT4_MODE 1
44 #ifndef G4INCLIFUNCTION1D_HH_
45 #define G4INCLIFUNCTION1D_HH_ 1
52 class InverseInterpolationTable;
102 static const G4double integrationCoefficients[];
107 #endif // G4INCLIFUNCTION1D_HH_
IFunction1D * primitive() const
Return a pointer to the (numerical) primitive to this function.
G4double xMin
Minimum value of the independent variable.
virtual G4double operator()(const G4double x) const =0
Compute the value of the function.
G4double xMax
Maximum value of the independent variable.
InverseInterpolationTable * inverseCDFTable(const G4int nNodes=60) const
Return a pointer to the inverse of the CDF of this function.
Class for interpolating the inverse of a 1-dimensional function.
virtual G4double integrate(const G4double x0, const G4double x1, const G4double step=-1.) const
Integrate the function between two values.
virtual G4double getXMinimum() const
Return the minimum allowed value of the independent variable.
virtual G4double getXMaximum() const
Return the maximum allowed value of the independent variable.
IFunction1D(const G4double x0, const G4double x1)