34 #define INCLXX_IN_GEANT4_MODE 1
45 #ifndef G4INCLINTERPOLATIONTABLE_HH_
46 #define G4INCLINTERPOLATIONTABLE_HH_
91 std::stringstream message;
92 message <<
"x, y, yPrime: " <<
x <<
'\t' <<
y <<
'\t' <<
yPrime <<
'\n';
119 std::string
print()
const;
128 std::vector<InterpolationNode>
nodes;
134 #endif // G4INCLINTERPOLATIONTABLE_HH_
G4bool operator<=(const InterpolationNode &rhs) const
void initDerivatives()
Initialise the values of the node derivatives.
G4double yPrime
function derivative
InterpolationNode(const G4double x0, const G4double y0, const G4double yPrime0)
G4double getYPrime() const
std::string print() const
std::vector< G4double > getNodeAbscissae() const
unsigned int getNumberOfNodes() const
virtual ~InterpolationTable()
void setYPrime(const G4double yPrime0)
std::string print() const
G4double operator()(const G4double x) const
Compute the value of the function.
std::vector< G4double > getNodeValues() const
G4bool operator<(const InterpolationNode &rhs) const
virtual ~InterpolationNode()
G4bool operator>(const InterpolationNode &rhs) const
Functor for 1-dimensional mathematical functions.
void setY(const G4double y0)
std::vector< InterpolationNode > nodes
Interpolating nodes.
void setX(const G4double x0)
Class for interpolating the of a 1-dimensional function.
G4bool operator>=(const InterpolationNode &rhs) const