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

class XEMSphericalMatrix More...

#include <SphericalMatrix.h>

Inheritance diagram for XEM::SphericalMatrix:
Collaboration diagram for XEM::SphericalMatrix:

Public Member Functions

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

Detailed Description

class XEMSphericalMatrix

Author
F Langrognet & A Echenim

Constructor & Destructor Documentation

XEM::SphericalMatrix::SphericalMatrix ( int64_t  pbDimension,
double  initValue = 1.0 
)

contructor default initialisation : Id


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