Vector.h
Go to the documentation of this file.
1 #ifndef GAUDIPYTHON_VECTOR_H
2 #define GAUDIPYTHON_VECTOR_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // STD & STL
7 // ============================================================================
8 #include <vector>
9 #include <functional>
10 // ============================================================================
11 // GaudiPython
12 // ============================================================================
13 #include "GaudiPython/GaudiPython.h"
14 // ============================================================================
15 
16 namespace GaudiPython
17 {
19  typedef std::vector<double> Vector ;
20  typedef Vector Row ;
21  typedef std::vector<Row> Matrix ;
22 
28  template <class TYPE>
29  struct _identity :
30  public std::unary_function<TYPE,TYPE>
31  {
32  inline Vector::value_type operator()
33  ( const Vector::value_type& value ) const { return value ; }
34  };
35 
36 } // end of namespace GaudiPython
37 #endif // GAUDIPYTHON_VECTOR_H
std::vector< double > Vector
useful type definition for implicit loos
Definition: Vector.h:19
std::vector< Row > Matrix
Definition: Vector.h:21
GaudiPython.h GaudiPython/GaudiPython.h.
Definition: AlgDecorators.h:37
Vector Row
Definition: Vector.h:20