Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Vector.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 // ============================================================================
13 // Include files
14 // ============================================================================
15 // STD & STL
16 // ============================================================================
17 #include <functional>
18 #include <vector>
19 // ============================================================================
20 // GaudiPython
21 // ============================================================================
23 // ============================================================================
24 
25 namespace GaudiPython {
27  typedef std::vector<double> Vector;
28  typedef Vector Row;
29  typedef std::vector<Row> Matrix;
30 
36  struct _identity {
37  template <typename T>
38  T operator()( const T& value ) const {
39  return value;
40  }
41  };
42 
43 } // end of namespace GaudiPython
GaudiPython::_identity
Definition: Vector.h:36
GaudiPython::_identity::operator()
T operator()(const T &value) const
Definition: Vector.h:38
GaudiPython.h
GaudiPython::Vector
std::vector< double > Vector
useful type definition for implicit loos
Definition: Vector.h:27
GaudiPython
Namespace for all classes interfacing Gaudi to Python.
Definition: Algorithm.h:29
GaudiPython::Matrix
std::vector< Row > Matrix
Definition: Vector.h:29
GaudiPython::Row
Vector Row
Definition: Vector.h:28