| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 <functional>
9 #include <vector>
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 : public std::unary_function<TYPE, TYPE> {
30 inline Vector::value_type operator()( const Vector::value_type& value ) const { return value; }
31 };
32
33 } // end of namespace GaudiPython
34 #endif // GAUDIPYTHON_VECTOR_H
GaudiPython::_identity
It is here due to &#39;missing&#39;(?) std::identity.
Definition: Vector.h:29
GaudiPython::_identity::operator()
Vector::value_type operator()(const Vector::value_type &value) const
Definition: Vector.h:30
GaudiPython::Vector
std::vector< double > Vector
useful type definition for implicit loos
Definition: Vector.h:19
GaudiPython.h
GaudiPython
GaudiPython.h GaudiPython/GaudiPython.h.
Definition: AlgDecorators.h:37
GaudiPython::Matrix
std::vector< Row > Matrix
Definition: Vector.h:21
std::vector< double >
std::unary_function
GaudiPython::Row
Vector Row
Definition: Vector.h:20