ATLAS Offline Software
AlSymMatBase.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // PBdR (17Apr2007) base for the symmetric matrix (~virtual)
6 #include <GaudiKernel/StatusCode.h>
7 
10 #include "TrkAlgebraUtils/AlMat.h"
11 
12 #include <cfloat> //for DBL_EPSILON
13 #include <cmath>
14 #include <fstream>
15 #include <iomanip>
16 
17 namespace Trk {
18 
19 //______________________________________________________________________________
21  : m_matrix_type(0)
22  , m_size(0)
23  , m_nele(0)
24 {
25 }
26 
27 //______________________________________________________________________________
29  : m_matrix_type(0)
30  , m_size(N)
31  , m_nele(N * (N + 1) / 2)
32 {
33 }
34 
35 //______________________________________________________________________________
37  : m_matrix_type(0)
38  , m_size(m.size())
39  , m_nele(m.m_nele)
40 {
41 }
42 
43 //______________________________________________________________________________
44 // m_size and m_ptr_data handled by derived classes.
45 // cppcheck-suppress operatorEqVarError
47 {
48  if (this==&m)
49  return *this;
50  m_matrix_type=m.m_matrix_type;
51  m_nele=m.m_nele;
52 
53  return *this;
54 }
55 
56 //______________________________________________________________________________
58 {
59  // m_ptr_map.clear();
60 }
61 
62 
63 } // end namespace Trk
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
Trk::AlSymMatBase
Definition: AlSymMatBase.h:38
AlVec.h
JetTiledMap::N
@ N
Definition: TiledEtaPhiMap.h:44
Trk::AlSymMatBase::AlSymMatBase
AlSymMatBase()
Definition: AlSymMatBase.cxx:20
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
Trk::AlSymMatBase::operator=
AlSymMatBase & operator=(const AlSymMatBase &)
Definition: AlSymMatBase.cxx:46
AlMat.h
Trk::AlSymMatBase::m_nele
long int m_nele
Definition: AlSymMatBase.h:104
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
AlSymMatBase.h
Trk::AlSymMatBase::~AlSymMatBase
virtual ~AlSymMatBase()
Definition: AlSymMatBase.cxx:57
Trk::AlSymMatBase::m_matrix_type
int m_matrix_type
Definition: AlSymMatBase.h:100