The Gaudi Framework
master (37c0b60a)
Vector.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 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
#ifndef GAUDIPYTHON_VECTOR_H
12
#define GAUDIPYTHON_VECTOR_H 1
13
// ============================================================================
14
// Include files
15
// ============================================================================
16
// STD & STL
17
// ============================================================================
18
#include <functional>
19
#include <vector>
20
// ============================================================================
21
// GaudiPython
22
// ============================================================================
23
#include <
GaudiPython/GaudiPython.h
>
24
// ============================================================================
25
26
namespace
GaudiPython
{
28
typedef
std::vector<double>
Vector
;
29
typedef
Vector
Row
;
30
typedef
std::vector<Row>
Matrix
;
31
37
struct
_identity
{
38
template
<
typename
T>
39
T
operator()
(
const
T& value )
const
{
40
return
value;
41
}
42
};
43
44
}
// end of namespace GaudiPython
45
#endif // GAUDIPYTHON_VECTOR_H
std::vector< double >
GaudiPython::_identity
Definition:
Vector.h:37
GaudiPython::_identity::operator()
T operator()(const T &value) const
Definition:
Vector.h:39
GaudiPython.h
GaudiPython::Vector
std::vector< double > Vector
useful type definition for implicit loos
Definition:
Vector.h:28
GaudiPython
Namespace for all classes interfacing Gaudi to Python.
Definition:
Algorithm.h:30
GaudiPython::Matrix
std::vector< Row > Matrix
Definition:
Vector.h:30
GaudiPython::Row
Vector Row
Definition:
Vector.h:29
GaudiPython
include
GaudiPython
Vector.h
Generated on Thu Dec 19 2024 15:35:05 for The Gaudi Framework by
1.8.18