39 double mMinEigenValue;
115 return mMinEigenValue;
147 virtual void initialize(
const int& clusterIndex,
148 const int& samplesNumber,
260 const int& i,
const int&j);
265 const int& from,
const int& to);
virtual ~MMSD_Law(void)
destroy an object.
Definition: MMSD_Law.cpp:13
void sort(MMSD_DoubleVector &nus)
sorts the law parameters & the array in argument in order to be to the same order than the D diagonal...
Definition: MMSD_Law.cpp:134
virtual void saveToUIClass(UI_Class &mclass) const
how to save the object from a mate model class
Definition: MMSD_Law.cpp:15
virtual tBoolean isOutOfBounds() const
test if the parameters of law are out of bounds ie if (D[i] < mMinEigenValue[i])
Definition: MMSD_Law.cpp:124
This class describes the FullMatrix class.
Definition: MMSD_DoubleFullMatrix.h:17
This class describes the main interface class for a soft user interface (R,matlab,python etc...) class.
Definition: UI_Class.h:38
const MMSD_DoubleFullMatrix & getPropertiesMatrixMultByCovarianceDecompositionMatrix() const
get the properties matrix multiplied by covariance matrix decomposition matrix
Definition: MMSD_Law.h:83
virtual void loadFromUIClass(const UI_Class &mclass)
how to load the object from a Meta Model class
Definition: MMSD_Law.cpp:30
#define tBoolean
Definition: types.h:48
MMSD_Law(void)
create an object
Definition: MMSD_Law.cpp:7
void setMinEigenValue(const double &v)
set the min eigen value available be default 1.e-16 see MMSD_Law::initialize()
Definition: MMSD_Law.h:107
virtual void updateCovarianceDecompositionMatrix(const MMSD_DoubleFullMatrix &Y, const MMSD_DoubleVector &Diag, const MMSD_DoubleVector &mean, const MMSD_DoubleFullMatrix &W, const MMSD_DoubleVector &probs, MMSD_DoubleFullMatrix &P, MMSD_DoubleFullMatrix &YP)=0
updates the matrix P of eigen value decomposition of covariance of Y
virtual void updateMean(const MMSD_DoubleFullMatrix &P, const MMSD_DoubleFullMatrix &YP, const MMSD_DoubleFullMatrix &W, const MMSD_DoubleVector &probs, MMSD_DoubleVector &mean)=0
updates the mean value
virtual void initialize(const int &clusterIndex, const int &samplesNumber, const MMSD_IntegerVector &clustersIndex, const MMSD_DoubleFullMatrix &properties)
initialization of the parameters opf the law
Definition: MMSD_Law.cpp:59
Definition: MMSD_DoubleVector.h:16
const MMSD_DoubleVector & getMean() const
get the mean of the law
Definition: MMSD_Law.h:98
virtual void restore(const MMSD_DoubleFullMatrix &properties)
restore the unstored values after a backup
Definition: MMSD_Law.cpp:50
double getMinEigenValue() const
get the min eigen value available
Definition: MMSD_Law.h:114
const MMSD_DoubleVector & getCovarianceDecompositionDiagonal() const
get the covariance matrix decomposition diagonal
Definition: MMSD_Law.h:93
Definition: MMSD_IntegerVector.h:15
#define tString
Definition: types.h:49
virtual void updateCovarianceDecompositionDiagonal(const MMSD_DoubleFullMatrix &P, const MMSD_DoubleFullMatrix &YP, const MMSD_DoubleVector &mean, const MMSD_DoubleFullMatrix &W, const MMSD_DoubleVector &probs, MMSD_DoubleVector &D)=0
updates the diagonal matrix D of eigen value decomposition of covariance of Y
const MMSD_DoubleFullMatrix & getCovarianceDecompositionMatrix() const
get the covariance matrix decomposition matrix
Definition: MMSD_Law.h:88
virtual void optimizeParameters(const MMSD_DoubleFullMatrix &weights, const MMSD_DoubleVector &probs, const MMSD_DoubleFullMatrix &Y)
optimizes the parameters of the law
Definition: MMSD_Law.h:160
This class is a geneal MMSD Law.
Definition: MMSD_Law.h:33
virtual tString toString() const
return the string representation of the object node
Definition: CORE_Object.cpp:102
This class is the base class of all Mixture of Multiple Scaled Distribution package.
Definition: MMSD_Object.h:20
virtual tString toString() const
turn the class into string
Definition: MMSD_Law.h:250