mixmod  3.2.0
Mixture models for clustering and classification
 All Classes Namespaces Files Functions Variables Enumerations Friends
XEM::Matrix Class Referenceabstract

Base class for Matrix. More...

#include <Matrix.h>

Inheritance diagram for XEM::Matrix:

Public Member Functions

 Matrix ()
 Default constructor.
 
 Matrix (int64_t pbDimension)
 
 Matrix (Matrix *A)
 
virtual ~Matrix ()
 Desctructor.
 
int64_t getPbDimension ()
 
virtual void inverse (Matrix *&A)=0
 fill this with the inverse matrix of A
 
virtual void compute_product_Lk_Wk (Matrix *Wk, double L)=0
 
virtual double norme (double *xMoinsMean)=0
 compute (x - mean)' this (x - mean)
 
virtual double determinant (Exception &errorType)=0
 compute determinant
 
virtual double computeTrace ()=0
 compute trace
 
virtual void equalToMatrixDividedByDouble (Matrix *A, double d)=0
 this will be A / d
 
virtual void equalToMatrixMultiplyByDouble (Matrix *D, double d)=0
 this will be A * d
 
virtual void add (double *xMoinsMean, double cik)=0
 add : cik * xMoinsMean * xMoinsMean' to this
 
virtual void operator= (const double &d)=0
 this = d * Identity
 
virtual void operator/= (const double &d)=0
 this = this / (d * Identity)
 
virtual void operator*= (const double &d)=0
 this = this * (d * Identity)
 
virtual void operator+= (Matrix *M)=0
 this = this + matrix
 
virtual void operator= (Matrix *M)=0
 this = matrix
 
void edit (std::ostream &flux, std::string before)
 
virtual void input (std::ifstream &fi)=0
 read matrix from an input file
 
virtual void input (double **variances)=0
 
virtual double putSphericalValueInStore (double &store)=0
 return store of a spherical matrix
 
virtual double addSphericalValueInStore (double &store)=0
 add store of a spherical matrix
 
virtual double getSphericalStore ()=0
 
virtual double * putDiagonalValueInStore (double *store)=0
 Return store of a diagonal matrix.
 
virtual double * addDiagonalValueInStore (double *store)=0
 Add store of a diagonal matrix.
 
virtual double * getDiagonalStore ()=0
 
virtual double * putSymmetricValueInStore (double *store)=0
 Return store of a diagonal matrix.
 
virtual double * addSymmetricValueInStore (double *store)=0
 Add store of a diagonal matrix in a diagonal one.
 
virtual double * getSymmetricStore ()=0
 
virtual double * putGeneralValueInStore (double *store)=0
 Return store of a diagonal matrix.
 
virtual double * addGeneralValueInStore (double *store)=0
 Add store of a diagonal matrix in a diagonal one.
 
virtual double * getGeneralStore ()=0
 
virtual double ** storeToArray () const =0
 
virtual double detDiag (Exception &errorType)=0
 gives : det(diag(this))
 
virtual void computeSVD (DiagMatrix *&S, GeneralMatrix *&O)=0
 compute singular vector decomposition
 
virtual void compute_as__multi_O_S_O (double multi, GeneralMatrix *&O, DiagMatrix *&S)=0
 
virtual double trace_this_O_Sm1_O (GeneralMatrix *&O, DiagMatrix *&S)=0
 
virtual double compute_trace_W_C (Matrix *C)=0
 
virtual void computeShape_as__diag_Ot_this_O (DiagMatrix *&Shape, GeneralMatrix *&Ori, double diviseur=1.0)=0
 
virtual void setSymmetricStore (double *store)=0
 set store
 
virtual void setGeneralStore (double *store)=0
 
virtual void setDiagonalStore (double *store)=0
 
virtual void setSphericalStore (double store)=0
 

Detailed Description

Base class for Matrix.

Author
F Langrognet & A Echenim

The documentation for this class was generated from the following files: