Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GaudiMath::Interpolation Namespace Reference

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 13 of file Interpolation.h.

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

Function Documentation

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

Definition at line 25 of file Interpolation.h.

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

Definition at line 35 of file Interpolation.cpp.

35 { return Gaudi::Parsers::parse_( t, in ); }
StatusCode parse_(ResultT &result, const std::string &input)
Definition: Factory.h:29
std::ostream & GaudiMath::Interpolation::toStream ( const Type t,
std::ostream os 
)

Definition at line 40 of file Interpolation.cpp.

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

Definition at line 36 of file Interpolation.cpp.

36  {
37  assert( 0 <= t && t <= Type::Akima_Periodic );
38  return table[t];
39  }