Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Interpolation.h
Go to the documentation of this file.
1 #ifndef GAUDIMATH_INTERPOLATION_H
2 #define GAUDIMATH_INTERPOLATION_H 1
3 // ============================================================================
4 // include files
5 // ============================================================================
6 #include <iosfwd>
7 #include <string>
8 
9 class StatusCode;
10 
11 namespace GaudiMath {
12  namespace Interpolation {
13  enum Type {
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  };
21 
22  StatusCode parse( Type&, const std::string& );
23  std::string toString( const Type& );
25  inline std::ostream& operator<<( std::ostream& os, const Type& t ) { return toStream( t, os ); }
26 
27  } // end of namespace Interpolation
28 } // end of namespace GaudiMath
29 
30 #endif // GAUDIMATH_INTERPOLATION_H
STL class.
std::ostream & toStream(const Type &, std::ostream &)
StatusCode parse(Type &, const std::string &)
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
GaudiMath.h GaudiMath/GaudiMath.h.
Definition: Adapters.h:13
STL class.
std::string toString(const Type &)
std::ostream & operator<<(std::ostream &os, const Type &t)
Definition: Interpolation.h:25