The Gaudi Framework  v30r3 (a5ef0a68)
GaudiMath::Interpolation Namespace Reference

Namespaces

 ROOT
 

Enumerations

enum  Type {
  Linear = 0, Polynomial, Cspline, Cspline_Periodic,
  Akima, Akima_Periodic
}
 

Functions

StatusCode parse (Type &, const std::string &)
 
std::string toString (const Type &)
 
std::ostreamtoStream (const Type &, std::ostream &)
 
std::ostreamoperator<< (std::ostream &os, const Type &t)
 

Enumeration Type Documentation

Enumerator
Linear 
Polynomial 
Cspline 
Cspline_Periodic 
Akima 
Akima_Periodic 

Definition at line 15 of file Interpolation.h.

15  {
16  Linear = 0, // linear interpolation
17  Polynomial, // polinomial interpolation
18  Cspline, // Cubic spline with natural boundary conditions
19  Cspline_Periodic, // Cubic spline with periodic boundary conditions
20  Akima, // Akima spline with natural boundary conditions
21  Akima_Periodic // Akima spline with periodic boundary conditions
22  };

Function Documentation

std::ostream& GaudiMath::Interpolation::operator<< ( std::ostream os,
const Type t 
)
inline

Definition at line 27 of file Interpolation.h.

27 { return toStream( t, os ); }
std::ostream & toStream(const DataObjID &d, std::ostream &os)
Definition: DataObjID.cpp:92
StatusCode GaudiMath::Interpolation::parse ( Type t,
const std::string in 
)

Definition at line 41 of file Interpolation.cpp.

41 { return Gaudi::Parsers::parse_( t, in ); }
StatusCode parse_(ResultT &result, const std::string &input)
std::ostream & GaudiMath::Interpolation::toStream ( const Type t,
std::ostream os 
)

Definition at line 47 of file Interpolation.cpp.

47 { return os << std::quoted( toString( t ), '\'' ); }
std::string toString(const Type &)
std::string GaudiMath::Interpolation::toString ( const Type t)

Definition at line 42 of file Interpolation.cpp.

43  {
44  assert( 0 <= t && t <= Type::Akima_Periodic );
45  return table[t];
46  }