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;
Functor for 1-dimensional mathematical functions.
void setY(const G4double y0)
virtual ~InterpolationNode()
G4bool operator>(const InterpolationNode &rhs) const
std::string print() const
void setX(const G4double x0)
G4double getYPrime() const
G4bool operator<=(const InterpolationNode &rhs) const
InterpolationNode(const G4double x0, const G4double y0, const G4double yPrime0)
void setYPrime(const G4double yPrime0)
G4double yPrime
function derivative
G4bool operator>=(const InterpolationNode &rhs) const
G4bool operator<(const InterpolationNode &rhs) const
Class for interpolating the of a 1-dimensional function.
std::vector< InterpolationNode > nodes
Interpolating nodes.
void initDerivatives()
Initialise the values of the node derivatives.
unsigned int getNumberOfNodes() const
std::string print() const
std::vector< G4double > getNodeValues() const
std::vector< G4double > getNodeAbscissae() const
virtual ~InterpolationTable()
G4double operator()(const G4double x) const
Compute the value of the function.