35#define INCLXX_IN_GEANT4_MODE 1
46#ifndef G4INCLIFUNCTION1D_HH_
47#define G4INCLIFUNCTION1D_HH_ 1
54 class InverseInterpolationTable;
104 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.
virtual G4double getXMinimum() const
Return the minimum allowed value of the independent variable.
IFunction1D(const G4double x0, const G4double x1)
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.