ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
12#include <cfloat> //for DBL_EPSILON
13#include <cmath>
14#include <fstream>
15#include <iomanip>
16
17namespace 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
AlSymMatBase & operator=(const AlSymMatBase &)
virtual ~AlSymMatBase()
long int size() const
Ensure that the ATLAS eigen extensions are properly loaded.