CorrelationMatrix.h
Go to the documentation of this file.
1 #ifndef _utl_CorrelationMatrix_h_
2 #define _utl_CorrelationMatrix_h_
3 
4 #include <vector>
5 
6 
7 namespace utl {
8 
10  public:
11  CorrelationMatrix(const int nPar);
12 
13  unsigned int GetNParameter() const { return fNParameter; }
14 
15  void Set(const int iPar, const int jPar, const double corr);
16 
17  double Get(const int iPar, const int jPar) const
18  { return operator()(iPar, jPar); }
19 
20  double operator()(const int iPar, const int jPar) const;
21 
22  private:
23  typedef std::vector<double> Elements;
24 
25  int Index(const int iPar, const int jPar) const;
26 
29  };
30 
31 }
32 
33 
34 #endif
std::vector< double > Elements
unsigned int GetNParameter() const
double operator()(const int iPar, const int jPar) const
void Set(const int iPar, const int jPar, const double corr)
int Index(const int iPar, const int jPar) const
double Get(const int iPar, const int jPar) const
CorrelationMatrix(const int nPar)
const int nPar
Definition: GeomAsym.h:37

, generated on Tue Sep 26 2023.