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';
113 std::vector<G4double> getNodeAbscissae()
const;
115 std::vector<G4double> getNodeValues()
const;
119 std::string
print()
const;
125 void initDerivatives();
128 std::vector<InterpolationNode>
nodes;
134 #endif // G4INCLINTERPOLATIONTABLE_HH_ G4double yPrime
function derivative
InterpolationNode(const G4double x0, const G4double y0, const G4double yPrime0)
G4double getYPrime() const
G4bool operator>=(const InterpolationNode &rhs) const
virtual ~InterpolationTable()
void setYPrime(const G4double yPrime0)
G4bool operator<=(const InterpolationNode &rhs) const
G4bool operator>(const InterpolationNode &rhs) const
G4bool operator<(const InterpolationNode &rhs) const
std::string print() const
virtual ~InterpolationNode()
Functor for 1-dimensional mathematical functions.
void setY(const G4double y0)
unsigned int getNumberOfNodes() const
std::vector< InterpolationNode > nodes
Interpolating nodes.
void setX(const G4double x0)
Class for interpolating the of a 1-dimensional function.