C++ main module for mmsd Package  1.0
MMSD_DoubleFullMatrix.h
Go to the documentation of this file.
1 #ifndef MMSD_DoubleFullMatrix_H
2 #define MMSD_DoubleFullMatrix_H
3 
5 
13 
16 
18  SP_OBJECT(MMSD_DoubleFullMatrix);
19  // ATTRIBUTES
20 
21 private:
22 
23  // ASSOCIATIONS
24 
25 
26 public:
27  // METHODS
28 
29  // CONSTRUCTORS
30 
35 
36 
37  // DESTRUCTORS
38 
39 
42  virtual ~MMSD_DoubleFullMatrix(void);
43 
44 
45 public:
46  //----------------
47  // NEW constructors
48  // ---------------
49 
52  static inline SP::MMSD_DoubleFullMatrix New() {
53  SP::MMSD_DoubleFullMatrix p(new MMSD_DoubleFullMatrix(),
55  p->setThis(p);
56  return p;
57  };
60  static inline SP::MMSD_DoubleFullMatrix New(const tLVectorIndex& n,const tLVectorIndex& p) {
61  SP::MMSD_DoubleFullMatrix ptr=New();
62  ptr->setSize(n,p);
63  return ptr;
64  }
65 
68  MMSD_DoubleFullMatrix& operator=(const double& s) {
69  init(s);
70  return (*this);
71  };
72 
73 
77  void computeCovarianceMatrix(MMSD_DoubleSymmetricMatrix& covarianceMatrix) const;
78 
79 };
80 
81 #endif
void computeCovarianceMatrix(MMSD_DoubleSymmetricMatrix &covarianceMatrix) const
compute the covariance matrix of the matrix cov(i,j)=covaraince of vector columns i & j ...
Definition: MMSD_DoubleFullMatrix.cpp:17
static SP::MMSD_DoubleFullMatrix New(const tLVectorIndex &n, const tLVectorIndex &p)
create a full matrix
Definition: MMSD_DoubleFullMatrix.h:60
This class describes the FullMatrix class.
Definition: MMSD_DoubleFullMatrix.h:17
virtual ~MMSD_DoubleFullMatrix(void)
destroy an object.
Definition: MMSD_DoubleFullMatrix.cpp:14
DEFINE_SPTR(MMSD_DoubleSymmetricMatrix)
DEFINE_SVPTR(MMSD_DoubleFullMatrix)
Definition: LAP_DoubleFullGeneralMatrix.h:30
MMSD_DoubleFullMatrix(void)
create an object
Definition: MMSD_DoubleFullMatrix.cpp:5
MMSD_DoubleFullMatrix & operator=(const double &s)
init all the matrix to s
Definition: MMSD_DoubleFullMatrix.h:68
void init(const double v)
init the values to v
Definition: LAP_DoubleMatrix.h:119
#define tLVectorIndex
Definition: lapack_types.h:13
Definition: MMSD_DoubleSymmetricMatrix.h:22
static SP::MMSD_DoubleFullMatrix New()
create a full matrix
Definition: MMSD_DoubleFullMatrix.h:52
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106