C++ main module for mmsd Package  1.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
MMSD_DoubleSymmetricMatrix Class Reference

#include <MMSD_DoubleSymmetricMatrix.h>

Inheritance diagram for MMSD_DoubleSymmetricMatrix:
Inheritance graph
[legend]
Collaboration diagram for MMSD_DoubleSymmetricMatrix:
Collaboration graph
[legend]

Public Member Functions

 MMSD_DoubleSymmetricMatrix ()
 build a matrix More...
 
virtual ~MMSD_DoubleSymmetricMatrix ()
 destroy a matrix More...
 
double & operator() (const size_t &i, const size_t &j)
 accessor of element at row i and column j taking into account the view only use the upper diagonal More...
 
const double & operator() (const size_t &i, const size_t &j) const
 accessor of element at row i and column j taking into account the view only use the upper diagonal More...
 
MMSD_DoubleSymmetricMatrixoperator*= (const MMSD_DoubleSymmetricMatrix &s)
 operator *= : element by element multiplication More...
 
MMSD_DoubleSymmetricMatrixoperator*= (const lapack_real &s)
 scale operator More...
 
MMSD_DoubleSymmetricMatrixoperator/= (const lapack_real &s)
 divide operator More...
 
MMSD_DoubleSymmetricMatrixoperator+= (const lapack_real &s)
 add operator More...
 
MMSD_DoubleSymmetricMatrixoperator-= (const lapack_real &s)
 sub operator More...
 
MMSD_DoubleSymmetricMatrixoperator^= (const lapack_real &s)
 power operator More...
 
MMSD_DoubleSymmetricMatrixoperator= (const double &s)
 init all the matrix to s More...
 
MMSD_DoubleSymmetricMatrixoperator= (const MMSD_DoubleSymmetricMatrix &s)
 init all the matrix to s More...
 
MMSD_DoubleSymmetricMatrixoperator= (const LAP_DoubleFullSymmetricMatrix &s)
 init all the matrix to s More...
 
MMSD_DoubleSymmetricMatrixoperator= (const LAP_DoublePackedSymmetricMatrix &s)
 init all the matrix to s More...
 
MMSD_DoubleSymmetricMatrixoperator= (const LAP_DoubleFullGeneralMatrix &s)
 init all the matrix to s More...
 
virtual void copy (const LAP_DoubleMatrix &x)
 copy a matrix the view is taken into account More...
 
void copy (const MMSD_DoubleSymmetricMatrix &x)
 copy a matrix the view is taken into account More...
 
void copy (SP::MMSD_DoubleSymmetricMatrix x)
 copy a matrix the view is taken into account More...
 
void copy (const LAP_DoubleFullSymmetricMatrix &x)
 copy a matrix the view is taken into account More...
 
void copy (const LAP_DoublePackedSymmetricMatrix &x)
 copy a matrix the view is taken into account More...
 
void copy (const LAP_DoubleFullGeneralMatrix &x)
 copy a matrix the view is taken into account More...
 
const LAP_DoubleVectorgetValues () const
 get the values of the symmetric matrix More...
 
void setValues (SP::MMSD_DoubleVector values)
 set the values of the symmetric matrix More...
 
int getValuesNumber () const
 get the values number More...
 
const LAP_DoubleSymmetricMatrixgetMatrix () const
 get its matrix form More...
 
LAP_DoubleSymmetricMatrixgetMatrix ()
 get its matrix form More...
 
size_t getSize () const
 
void setStorage (const tFlag &storageType)
 get its matrix form More...
 
tFlag getStorage () const
 get its matrix form More...
 
virtual void setSize (const size_t &n)
 set the dimension of the matrix More...
 
virtual void setSize (const size_t &n, const size_t &p)
 set the dimension of the matrix More...
 
virtual void getColumn (const size_t &j, LAP_DoubleVector &v) const
 get the j-th column of this symmetric matrix in a vector More...
 
virtual void getColumn (const size_t &j, SP::LAP_DoubleVector v) const
 get the j-th column of this symmetric matrix in a vector More...
 
size_t getRowsNumber () const
 get the rows number More...
 
size_t getSize (const tFlag &d) const
 get the rows number More...
 
size_t getColumnsNumber () const
 get the rows number More...
 
virtual void set (const size_t &i, const size_t &j, const double &v)
 set the value taking into account the view More...
 
virtual double get (const size_t &i, const size_t &j) const
 get the value taking into account the view More...
 
virtual void add (const size_t &i, const size_t &j, const double &v)
 add the value taking into account the view More...
 
void setValues (const size_t &n, const double *values)
 set the values values is orderd by column More...
 
void product (const LAP_DoubleVector &vect, LAP_DoubleVector &result) const
 return result=this.vector More...
 
void product (const LAP_ConstDoubleVector &vect, LAP_DoubleVector &result) const
 return result=this.vector More...
 
void product (SPC::LAP_DoubleVector vect, SP::LAP_DoubleVector result) const
 
virtual void product (const LAP_DoubleVector &vect, const lapack_real &alpha, const lapack_real &beta, LAP_DoubleVector &result) const
 return result=beta.result+alpha.this.vector More...
 
virtual void rankSymmetricProduct (const lapack_real &alpha, const LAP_DoubleVector &vect)
 
tBoolean product (const MMSD_DoubleSymmetricMatrix &B, LAP_DoubleFullGeneralMatrix &C) const
 return C=(This) . B More...
 
void product (const LAP_DoubleFullGeneralMatrix &B, LAP_DoubleFullGeneralMatrix &C) const
 return C=(This) . B More...
 
virtual void product (const LAP_DoubleFullGeneralMatrix &B, const lapack_real &alpha, const lapack_real &beta, LAP_DoubleFullGeneralMatrix &C) const
 return C=(This) . B (lefside=true) or B. (this) (lefside=false) More...
 
virtual tBoolean product (const tBoolean &leftSide, const LAP_DoubleFullGeneralMatrix &B, const lapack_real &alpha, const lapack_real &beta, LAP_DoubleFullGeneralMatrix &C) const
 make the product C = alpha. A . B +beta C if leftSide=true C = alpha. B . A +beta C if leftSide=false More...
 
virtual tBoolean computeEigenValues (LAP_DoubleVector &U) const
 compute the eigen values of This: This is copied More...
 
virtual tBoolean computeEigenValueDecomposition (LAP_DoubleVector &U, LAP_DoubleFullGeneralMatrix &VR) const
 compute the eigen values decomposition on This More...
 
tBoolean computeEigenValueDecomposition (LAP_DoubleVector &U, LAP_DoubleFullGeneralMatrix &VR, const int &il, const int &iu) const
 compute the eigen elements of This supposed to be symmetric, the eigen vectors are set in Z, A must be symmetric and is copied only the eigen values & vectors are computed in index il and iu when the iegen values are ordering in an ascent order. More...
 
virtual tReal norm2 () const
 return norm2 sqrt(sum_ij(aij^2))=sqrt(tr(AtA)); More...
 
virtual tReal norm2 (LAP_DoubleVector &v) const
 return norm2 of the matrix and for each row; More...
 
virtual tReal sum (const tFlag &d, LAP_DoubleVector &s) const
 make the sum among the direction if (d==ROW) sum all the rows and size of s if the number of rows if (d==COL) sum all the columns and size of s if the number of columns More...
 
virtual tReal sum (const tFlag &d, const int &index) const
 make the sum among the direction if (d==ROW) sum all the rows and size of s if the number of rows if (d==COL) sum all the columns and size of s if the number of columns More...
 
virtual tReal trace () const
 return the trace of the symmetric matrix More...
 
void orthogonalTransformation (const int &n, const double &errorMax, MMSD_DoubleSymmetricMatrix &H)
 make the orthogonalization of this More...
 
virtual tString toString () const
 print the matrix taking into account the view More...
 
void setHasBeenLoaded (const tBoolean &v)
 set the if the object has completely been loaded More...
 
tBoolean hasBeenLoaded () const
 return true if the object has completely been loaded More...
 
virtual void loadFromUIClass (const UI_Class &mclass)
 how to load the object from a Meta Model class More...
 
virtual void saveToUIClass (UI_Class &mclass) const
 how to save the object from a mate model class More...
 
void getSharedPointer (SP::CORE_Object &p)
 get the shared pointer of this class into p More...
 
void getSharedPointer (SPC::CORE_Object &p) const
 get the shared pointer of this class into p More...
 
tString getClassName () const
 return the class name of the object More...
 
tString getIdentityString () const
 return the identity string of the object of the form className_at_address More...
 
tString getPointerAddress () const
 return the identity string of the object More...
 
template<class T >
tBoolean isInstanceOf () const
 return true if the object is an instance of T More...
 
virtual void print ()
 print the class More...
 
virtual ostream & print (ostream &out) const
 print the class More...
 
virtual void print (const tString &message)
 print the class More...
 
virtual void print (const tInteger &str)
 print More...
 
virtual void print (const tRelativeInteger &str)
 print More...
 
virtual void print (const tReal &str)
 print More...
 
virtual void print (const int &str)
 print More...
 

Static Public Member Functions

static
SP::MMSD_DoubleSymmetricMatrix 
New ()
 
static void product (const tBoolean &leftSide, const MMSD_DoubleSymmetricMatrix &A, const LAP_DoubleFullGeneralMatrix &B, const lapack_real &alpha, const lapack_real &beta, LAP_DoubleFullGeneralMatrix &C)
 make the product C = alpha. A . B +beta C if leftSide=true C = alpha. B . A +beta C if leftSide=false More...
 
static tBoolean computeEigenValueDecomposition (MMSD_DoubleSymmetricMatrix &A, LAP_DoubleVector &U, LAP_DoubleFullGeneralMatrix &VR)
 compute the eigen values decomposition of A; A is destroyed More...
 
static tBoolean computeEigenValueDecomposition (MMSD_DoubleSymmetricMatrix &A, LAP_DoubleVector &U, LAP_DoubleFullGeneralMatrix &Z, const lapack_int &il, const lapack_int &ul)
 compute the eigen elements of A A is supposed to be symmetric, the eigen vectors are set in Z, A must be symmetric. only the eigen values & vectors are computed in index il and iu when the iegen values are ordering in an ascent order. More...
 
static void initSeed (const long int &v)
 init the seed with v value More...
 
static void initSeed ()
 init the seed More...
 
static tString getClassName (const tString &identityString)
 return the class name of the object using only the identity string More...
 
template<class T >
static tString getTypeName ()
 get type name More...
 
static tBoolean is64Architecture ()
 return true if the machine is a 64 bits machine More...
 
static tBoolean is32Architecture ()
 return true if the machine is a 32 bits machine More...
 
static tString pointer2String (const void *obj)
 return the string represantation of a pointer More...
 
static void setOutput (ostream &out)
 set output More...
 
static ostream & getOutput ()
 get output More...
 
static void printObjectsInMemory ()
 print object in memory More...
 
static ostream & print (ostream &out, const tString &message)
 print the class More...
 
static void outputPrint (const tString &message)
 

Static Public Attributes

static const tFlag PACKED_STORAGE =1
 to store symmetric matrix in a packed storage form More...
 
static const tFlag FULL_STORAGE =0
 to store symmetric matrix in afull storage form More...
 
static tBoolean mIsMemoryTesting =false
 indicator to store all classes created and deleted only for debuging version More...
 

Protected Member Functions

void setThis (SP::CORE_Object p)
 set this weak shared pointer called toDoAfterThis setting method More...
 
virtual void setType (tString type)
 set the type of the object More...
 
virtual void toDoAfterThisSetting ()
 method called after setThis() method this method can oly be called once. More...
 

Constructor & Destructor Documentation

MMSD_DoubleSymmetricMatrix::MMSD_DoubleSymmetricMatrix ( )

build a matrix

References FULL_STORAGE, setStorage(), and CORE_Object::setType().

Referenced by New().

Here is the call graph for this function:

Here is the caller graph for this function:

MMSD_DoubleSymmetricMatrix::~MMSD_DoubleSymmetricMatrix ( )
virtual

destroy a matrix

Member Function Documentation

virtual void MMSD_DoubleSymmetricMatrix::add ( const size_t &  i,
const size_t &  j,
const double &  v 
)
inlinevirtual

add the value taking into account the view

virtual tBoolean MMSD_DoubleSymmetricMatrix::computeEigenValueDecomposition ( LAP_DoubleVector U,
LAP_DoubleFullGeneralMatrix VR 
) const
inlinevirtual

compute the eigen values decomposition on This

Parameters
Uthe eigen values
VRthe eigen vectors

References null.

Referenced by MMSD_Law::initialize().

Here is the caller graph for this function:

static tBoolean MMSD_DoubleSymmetricMatrix::computeEigenValueDecomposition ( MMSD_DoubleSymmetricMatrix A,
LAP_DoubleVector U,
LAP_DoubleFullGeneralMatrix VR 
)
inlinestatic

compute the eigen values decomposition of A; A is destroyed

Parameters
Amatrix to diagonalize
Uthe eigen values
VRthe eigen vectors

References LAP_DoublePackedSymmetricMatrix::computeEigenValueDecomposition(), getMatrix(), and null.

Here is the call graph for this function:

tBoolean MMSD_DoubleSymmetricMatrix::computeEigenValueDecomposition ( LAP_DoubleVector U,
LAP_DoubleFullGeneralMatrix VR,
const int &  il,
const int &  iu 
) const
inline

compute the eigen elements of This supposed to be symmetric, the eigen vectors are set in Z, A must be symmetric and is copied only the eigen values & vectors are computed in index il and iu when the iegen values are ordering in an ascent order.

References null.

static tBoolean MMSD_DoubleSymmetricMatrix::computeEigenValueDecomposition ( MMSD_DoubleSymmetricMatrix A,
LAP_DoubleVector U,
LAP_DoubleFullGeneralMatrix Z,
const lapack_int il,
const lapack_int ul 
)
inlinestatic

compute the eigen elements of A A is supposed to be symmetric, the eigen vectors are set in Z, A must be symmetric. only the eigen values & vectors are computed in index il and iu when the iegen values are ordering in an ascent order.

Parameters
A(IN/OUT) symmetric Matrix
Ueigen values (OUT)
Zeigen vectors (OUT) param il: min eigen values index >= 1 param ul : max eigen values index <= A.getSize(ROW)

References LAP_DoublePackedSymmetricMatrix::computeEigenValueDecomposition(), getMatrix(), and null.

Here is the call graph for this function:

virtual tBoolean MMSD_DoubleSymmetricMatrix::computeEigenValues ( LAP_DoubleVector U) const
inlinevirtual

compute the eigen values of This: This is copied

References LAP_DoubleFullSymmetricMatrix::computeEigenValues(), LAP_DoublePackedSymmetricMatrix::computeEigenValues(), and null.

Here is the call graph for this function:

void MMSD_DoubleSymmetricMatrix::copy ( const LAP_DoubleMatrix x)
virtual

copy a matrix the view is taken into account

References null.

Referenced by copy(), and operator=().

Here is the caller graph for this function:

void MMSD_DoubleSymmetricMatrix::copy ( const MMSD_DoubleSymmetricMatrix x)

copy a matrix the view is taken into account

References copy(), and getMatrix().

Here is the call graph for this function:

void MMSD_DoubleSymmetricMatrix::copy ( SP::MMSD_DoubleSymmetricMatrix  x)
inline

copy a matrix the view is taken into account

References copy(), and null.

Here is the call graph for this function:

void MMSD_DoubleSymmetricMatrix::copy ( const LAP_DoubleFullSymmetricMatrix x)

copy a matrix the view is taken into account

References LAP_DoubleMatrix::copy(), getMatrix(), and null.

Here is the call graph for this function:

void MMSD_DoubleSymmetricMatrix::copy ( const LAP_DoublePackedSymmetricMatrix x)

copy a matrix the view is taken into account

References LAP_DoubleMatrix::copy(), getMatrix(), and null.

Here is the call graph for this function:

void MMSD_DoubleSymmetricMatrix::copy ( const LAP_DoubleFullGeneralMatrix x)

copy a matrix the view is taken into account

References LAP_DoubleMatrix::copy(), getMatrix(), and null.

Here is the call graph for this function:

virtual double MMSD_DoubleSymmetricMatrix::get ( const size_t &  i,
const size_t &  j 
) const
inlinevirtual

get the value taking into account the view

static tString CORE_Object::getClassName ( const tString identityString)
inlinestaticinherited

return the class name of the object using only the identity string

Referenced by UI_Class::createVector2D(), LAP_DoublePackedUpperMatrix::matrixProduct(), LAP_DoubleBandedUpperMatrix::matrixProduct(), LAP_DoubleFullUpperMatrix::matrixProduct(), and CORE_Object::printObjectsInMemory().

Here is the caller graph for this function:

tString CORE_Object::getClassName ( ) const
inherited

return the class name of the object

Returns
the class name of the object

References tString.

Referenced by CORE_Object::getIdentityString().

Here is the caller graph for this function:

virtual void MMSD_DoubleSymmetricMatrix::getColumn ( const size_t &  j,
LAP_DoubleVector v 
) const
inlinevirtual

get the j-th column of this symmetric matrix in a vector

References null.

virtual void MMSD_DoubleSymmetricMatrix::getColumn ( const size_t &  j,
SP::LAP_DoubleVector  v 
) const
inlinevirtual

get the j-th column of this symmetric matrix in a vector

References null.

size_t MMSD_DoubleSymmetricMatrix::getColumnsNumber ( ) const
inline

get the rows number

References null.

tString CORE_Object::getIdentityString ( ) const
inlineinherited

return the identity string of the object of the form className_at_address

Returns
the identity string of the object

References CORE_Object::getClassName(), CORE_Object::pointer2String(), and tString.

Referenced by UI_Class::createPrimitiveMap(), UI_Class::saveAssociation(), UI_Class::saveClass(), UI_ClassFactory::saveIntoClass(), MATH_StiefelFunction::toString(), LAP_2DView::toString(), CORE_Object::toString(), MATH_StiefelOptimizer::toString(), and MM_Class::toString().

Here is the call graph for this function:

Here is the caller graph for this function:

const LAP_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::getMatrix ( ) const
inline

get its matrix form

References null.

Referenced by computeEigenValueDecomposition(), copy(), getSize(), getValues(), getValuesNumber(), operator=(), orthogonalTransformation(), product(), and setValues().

Here is the caller graph for this function:

LAP_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::getMatrix ( )
inline

get its matrix form

References null.

static ostream& CORE_Object::getOutput ( )
inlinestaticinherited

get output

tString CORE_Object::getPointerAddress ( ) const
inlineinherited

return the identity string of the object

Returns
the identity string of the object

References CORE_Object::pointer2String().

Here is the call graph for this function:

size_t MMSD_DoubleSymmetricMatrix::getRowsNumber ( ) const
inline

get the rows number

References null.

Referenced by product().

Here is the caller graph for this function:

void CORE_Object::getSharedPointer ( SP::CORE_Object &  p)
inlineinherited
void CORE_Object::getSharedPointer ( SPC::CORE_Object &  p) const
inlineinherited

get the shared pointer of this class into p

size_t MMSD_DoubleSymmetricMatrix::getSize ( ) const
inline

References getMatrix(), LAP_Matrix::getSize(), and LAP_Matrix::ROW.

Here is the call graph for this function:

size_t MMSD_DoubleSymmetricMatrix::getSize ( const tFlag d) const
inline

get the rows number

References null.

tFlag MMSD_DoubleSymmetricMatrix::getStorage ( ) const
inline

get its matrix form

References null, and PACKED_STORAGE.

template<class T >
static tString CORE_Object::getTypeName ( )
inlinestaticinherited

get type name

References tString.

const LAP_DoubleVector& MMSD_DoubleSymmetricMatrix::getValues ( ) const
inline

get the values of the symmetric matrix

References getMatrix(), LAP_DoubleMatrix::getStorage(), and LAP_DoubleMatrixStorage::getValues().

Here is the call graph for this function:

int MMSD_DoubleSymmetricMatrix::getValuesNumber ( ) const
inline

get the values number

References getMatrix(), and LAP_DoubleMatrix::getValuesNumber().

Here is the call graph for this function:

tBoolean UI_Object::hasBeenLoaded ( ) const
inlineinherited

return true if the object has completely been loaded

Referenced by UI_Class::loadAssociation().

Here is the caller graph for this function:

void MMSD_Object::initSeed ( const long int &  v)
staticinherited

init the seed with v value

References STAT_Distribution::initSeed().

Here is the call graph for this function:

void MMSD_Object::initSeed ( )
staticinherited

init the seed

References CORE_Time::getTime().

Referenced by MMSD_Object::MMSD_Object(), testGaussianLaw11N(), testGaussianLaw1PN(), and testGaussianLaw2PN().

Here is the call graph for this function:

Here is the caller graph for this function:

static tBoolean CORE_Object::is32Architecture ( )
inlinestaticinherited

return true if the machine is a 32 bits machine

References CORE_Object::is64Architecture().

Here is the call graph for this function:

tBoolean CORE_Object::is64Architecture ( )
staticinherited

return true if the machine is a 64 bits machine

Referenced by CORE_Object::is32Architecture().

Here is the caller graph for this function:

template<class T >
tBoolean CORE_Object::isInstanceOf ( ) const
inlineinherited

return true if the object is an instance of T

References null.

void UI_Object::loadFromUIClass ( const UI_Class mclass)
virtualinherited
static SP::MMSD_DoubleSymmetricMatrix MMSD_DoubleSymmetricMatrix::New ( )
inlinestatic

References MMSD_DoubleSymmetricMatrix().

Here is the call graph for this function:

virtual tReal MMSD_DoubleSymmetricMatrix::norm2 ( ) const
inlinevirtual

return norm2 sqrt(sum_ij(aij^2))=sqrt(tr(AtA));

References null.

virtual tReal MMSD_DoubleSymmetricMatrix::norm2 ( LAP_DoubleVector v) const
inlinevirtual

return norm2 of the matrix and for each row;

References null.

double& MMSD_DoubleSymmetricMatrix::operator() ( const size_t &  i,
const size_t &  j 
)
inline

accessor of element at row i and column j taking into account the view only use the upper diagonal

References null.

const double& MMSD_DoubleSymmetricMatrix::operator() ( const size_t &  i,
const size_t &  j 
) const
inline

accessor of element at row i and column j taking into account the view only use the upper diagonal

References null.

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator*= ( const MMSD_DoubleSymmetricMatrix s)
inline

operator *= : element by element multiplication

References null.

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator*= ( const lapack_real s)
inline

scale operator

References null.

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator+= ( const lapack_real s)
inline

add operator

References null.

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator-= ( const lapack_real s)
inline

sub operator

References null.

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator/= ( const lapack_real s)
inline

divide operator

References null.

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator= ( const double &  s)
inline

init all the matrix to s

References null.

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator= ( const MMSD_DoubleSymmetricMatrix s)
inline

init all the matrix to s

References copy(), getMatrix(), and null.

Here is the call graph for this function:

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator= ( const LAP_DoubleFullSymmetricMatrix s)
inline

init all the matrix to s

References copy(), and null.

Here is the call graph for this function:

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator= ( const LAP_DoublePackedSymmetricMatrix s)
inline

init all the matrix to s

References copy(), and null.

Here is the call graph for this function:

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator= ( const LAP_DoubleFullGeneralMatrix s)
inline

init all the matrix to s

References copy(), and null.

Here is the call graph for this function:

MMSD_DoubleSymmetricMatrix& MMSD_DoubleSymmetricMatrix::operator^= ( const lapack_real s)
inline

power operator

References null.

void MMSD_DoubleSymmetricMatrix::orthogonalTransformation ( const int &  n,
const double &  errorMax,
MMSD_DoubleSymmetricMatrix H 
)

make the orthogonalization of this

References FULL_STORAGE, getMatrix(), and setStorage().

Referenced by testOrthogonalization().

Here is the call graph for this function:

Here is the caller graph for this function:

void CORE_Object::outputPrint ( const tString message)
staticinherited

print on output

References null, and CORE_Object::print().

Referenced by CORE_Exception::CORE_Exception().

Here is the call graph for this function:

Here is the caller graph for this function:

tString CORE_Object::pointer2String ( const void *  obj)
staticinherited

return the string represantation of a pointer

References tString.

Referenced by CORE_Object::CORE_Object(), CORE_Object::getIdentityString(), CORE_Object::getPointerAddress(), and CORE_Object::~CORE_Object().

Here is the caller graph for this function:

virtual void CORE_Object::print ( )
inlinevirtualinherited

print the class

References CORE_Object::toString().

Referenced by CORE_Object::outputPrint(), CORE_Out::print(), CORE_Object::print(), CORE_Out::printInt(), CORE_Out::println(), CORE_Out::printReal(), CORE_Out::printString(), and CORE_Out::setAction().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual ostream& CORE_Object::print ( ostream &  out) const
inlinevirtualinherited

print the class

References CORE_Object::print(), and CORE_Object::toString().

Here is the call graph for this function:

void CORE_Object::print ( const tString message)
virtualinherited

print the class

Reimplemented in CORE_Out.

References null, and CORE_Object::print().

Here is the call graph for this function:

void CORE_Object::print ( const tInteger str)
virtualinherited

print

References null.

void CORE_Object::print ( const tRelativeInteger str)
virtualinherited

print

References null.

void CORE_Object::print ( const tReal str)
virtualinherited

print

References null.

void CORE_Object::print ( const int &  str)
virtualinherited

print

References null.

static ostream& CORE_Object::print ( ostream &  out,
const tString message 
)
inlinestaticinherited

print the class

void CORE_Object::printObjectsInMemory ( )
staticinherited

print object in memory

References CORE_Object::getClassName(), CORE_Object::getSharedPointer(), and CORE_Object::mIsMemoryTesting.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void MMSD_DoubleSymmetricMatrix::product ( const LAP_DoubleVector vect,
LAP_DoubleVector result 
) const
inline

return result=this.vector

References null.

void MMSD_DoubleSymmetricMatrix::product ( const LAP_ConstDoubleVector vect,
LAP_DoubleVector result 
) const
inline

return result=this.vector

References LAP_ConstVector< T >::getIncrement(), LAP_Vector< T >::getIncrement(), LAP_ConstVector< T >::getSize(), null, LAP_Vector< T >::setSize(), and tLVectorIndex.

Here is the call graph for this function:

void MMSD_DoubleSymmetricMatrix::product ( SPC::LAP_DoubleVector  vect,
SP::LAP_DoubleVector  result 
) const
inline

\ brief return result=this.vector

References null.

virtual void MMSD_DoubleSymmetricMatrix::product ( const LAP_DoubleVector vect,
const lapack_real alpha,
const lapack_real beta,
LAP_DoubleVector result 
) const
inlinevirtual

return result=beta.result+alpha.this.vector

References null.

tBoolean MMSD_DoubleSymmetricMatrix::product ( const MMSD_DoubleSymmetricMatrix B,
LAP_DoubleFullGeneralMatrix C 
) const
inline
void MMSD_DoubleSymmetricMatrix::product ( const LAP_DoubleFullGeneralMatrix B,
LAP_DoubleFullGeneralMatrix C 
) const
inline

return C=(This) . B

References null.

virtual void MMSD_DoubleSymmetricMatrix::product ( const LAP_DoubleFullGeneralMatrix B,
const lapack_real alpha,
const lapack_real beta,
LAP_DoubleFullGeneralMatrix C 
) const
inlinevirtual

return C=(This) . B (lefside=true) or B. (this) (lefside=false)

References null.

virtual tBoolean MMSD_DoubleSymmetricMatrix::product ( const tBoolean leftSide,
const LAP_DoubleFullGeneralMatrix B,
const lapack_real alpha,
const lapack_real beta,
LAP_DoubleFullGeneralMatrix C 
) const
inlinevirtual

make the product C = alpha. A . B +beta C if leftSide=true C = alpha. B . A +beta C if leftSide=false

References null.

static void MMSD_DoubleSymmetricMatrix::product ( const tBoolean leftSide,
const MMSD_DoubleSymmetricMatrix A,
const LAP_DoubleFullGeneralMatrix B,
const lapack_real alpha,
const lapack_real beta,
LAP_DoubleFullGeneralMatrix C 
)
inlinestatic

make the product C = alpha. A . B +beta C if leftSide=true C = alpha. B . A +beta C if leftSide=false

References getMatrix(), LAP_DoublePackedSymmetricMatrix::matrixProduct(), LAP_DoubleFullSymmetricMatrix::matrixProduct(), and null.

Here is the call graph for this function:

virtual void MMSD_DoubleSymmetricMatrix::rankSymmetricProduct ( const lapack_real alpha,
const LAP_DoubleVector vect 
)
inlinevirtual

References null.

void UI_Object::saveToUIClass ( UI_Class mclass) const
virtualinherited
virtual void MMSD_DoubleSymmetricMatrix::set ( const size_t &  i,
const size_t &  j,
const double &  v 
)
inlinevirtual

set the value taking into account the view

void UI_Object::setHasBeenLoaded ( const tBoolean v)
inlineinherited

set the if the object has completely been loaded

Referenced by UI_Class::loadAssociation().

Here is the caller graph for this function:

static void CORE_Object::setOutput ( ostream &  out)
inlinestaticinherited

set output

virtual void MMSD_DoubleSymmetricMatrix::setSize ( const size_t &  n)
inlinevirtual

set the dimension of the matrix

References null.

Referenced by MMSD_DoubleFullMatrix::computeCovarianceMatrix(), MMSD_Law::initialize(), and testOrthogonalization().

Here is the caller graph for this function:

virtual void MMSD_DoubleSymmetricMatrix::setSize ( const size_t &  n,
const size_t &  p 
)
inlinevirtual

set the dimension of the matrix

References null.

void MMSD_DoubleSymmetricMatrix::setStorage ( const tFlag storageType)

get its matrix form

References FULL_STORAGE, LAP_DoubleFullSymmetricMatrix::New(), LAP_DoublePackedSymmetricMatrix::New(), null, and PACKED_STORAGE.

Referenced by MMSD_Law::initialize(), MMSD_DoubleSymmetricMatrix(), orthogonalTransformation(), and testOrthogonalization().

Here is the call graph for this function:

Here is the caller graph for this function:

void CORE_Object::setThis ( SP::CORE_Object  p)
inlineprotectedinherited

set this weak shared pointer called toDoAfterThis setting method

References CORE_Object::toDoAfterThisSetting().

Here is the call graph for this function:

virtual void CORE_Object::setType ( tString  type)
inlineprotectedvirtualinherited

set the type of the object

Referenced by LAP_IntegerVector::LAP_IntegerVector(), MATH_BetaFunction::MATH_BetaFunction(), MATH_C1Function::MATH_C1Function(), MATH_DigammaFunction::MATH_DigammaFunction(), MATH_EigenFunction::MATH_EigenFunction(), MATH_Equation::MATH_Equation(), MATH_Function::MATH_Function(), MATH_GammaFunction::MATH_GammaFunction(), MATH_KeplerFunction::MATH_KeplerFunction(), MATH_LogGammaFunction::MATH_LogGammaFunction(), MATH_NewtonEquation::MATH_NewtonEquation(), MATH_StiefelFunction::MATH_StiefelFunction(), MATH_StiefelOptimizer::MATH_StiefelOptimizer(), MATH_TranscendentEquation::MATH_TranscendentEquation(), MATH_TrigammaFunction::MATH_TrigammaFunction(), MATH_ZeroEquation::MATH_ZeroEquation(), MATH_ZKeplerFunction::MATH_ZKeplerFunction(), MM_Attribute::MM_Attribute(), MM_Class::MM_Class(), MM_ClassFactory::MM_ClassFactory(), MM_Data::MM_Data(), MM_Structure::MM_Structure(), MMSD_ClassFactory::MMSD_ClassFactory(), MMSD_Cluster::MMSD_Cluster(), MMSD_ConstDoubleVector::MMSD_ConstDoubleVector(), MMSD_ConstraintGaussianCluster::MMSD_ConstraintGaussianCluster(), MMSD_ConstraintGaussianModel::MMSD_ConstraintGaussianModel(), MMSD_DataSet::MMSD_DataSet(), MMSD_DataSetClassFactory::MMSD_DataSetClassFactory(), MMSD_DoubleFullMatrix::MMSD_DoubleFullMatrix(), MMSD_DoubleSymmetricMatrix(), MMSD_DoubleVector::MMSD_DoubleVector(), MMSD_FluryGautschiGaussianLaw::MMSD_FluryGautschiGaussianLaw(), MMSD_GaussianCluster::MMSD_GaussianCluster(), MMSD_GaussianFDFunction::MMSD_GaussianFDFunction(), MMSD_GaussianLaw::MMSD_GaussianLaw(), MMSD_GaussianModel::MMSD_GaussianModel(), MMSD_Law::MMSD_Law(), MMSD_Model::MMSD_Model(), MMSD_ModelClassFactory::MMSD_ModelClassFactory(), MMSD_Object::MMSD_Object(), MMSD_StiefelFunction::MMSD_StiefelFunction(), MMSD_StiefelGaussianLaw::MMSD_StiefelGaussianLaw(), STAT_BernoulliDistribution::STAT_BernoulliDistribution(), STAT_BinomialDistribution::STAT_BinomialDistribution(), STAT_Combinatorial< T >::STAT_Combinatorial(), STAT_DiracDistribution::STAT_DiracDistribution(), STAT_Distribution::STAT_Distribution(), STAT_ExponentialDistribution::STAT_ExponentialDistribution(), STAT_GammaDistribution::STAT_GammaDistribution(), STAT_GeometricDistribution::STAT_GeometricDistribution(), STAT_InverseNormalDistribution::STAT_InverseNormalDistribution(), STAT_NormalDistribution::STAT_NormalDistribution(), STAT_Object::STAT_Object(), STAT_PoissonDistribution::STAT_PoissonDistribution(), STAT_UniformDistribution::STAT_UniformDistribution(), and STAT_UniformLaplaceTransform::STAT_UniformLaplaceTransform().

Here is the caller graph for this function:

void MMSD_DoubleSymmetricMatrix::setValues ( SP::MMSD_DoubleVector  values)
inline

set the values of the symmetric matrix

References getMatrix(), and LAP_DoubleMatrix::setValues().

Referenced by testCovariance().

Here is the call graph for this function:

Here is the caller graph for this function:

void MMSD_DoubleSymmetricMatrix::setValues ( const size_t &  n,
const double *  values 
)
inline

set the values values is orderd by column

References null.

virtual tReal MMSD_DoubleSymmetricMatrix::sum ( const tFlag d,
LAP_DoubleVector s 
) const
inlinevirtual

make the sum among the direction if (d==ROW) sum all the rows and size of s if the number of rows if (d==COL) sum all the columns and size of s if the number of columns

References null.

virtual tReal MMSD_DoubleSymmetricMatrix::sum ( const tFlag d,
const int &  index 
) const
inlinevirtual

make the sum among the direction if (d==ROW) sum all the rows and size of s if the number of rows if (d==COL) sum all the columns and size of s if the number of columns

References null.

virtual void CORE_Object::toDoAfterThisSetting ( )
inlineprotectedvirtualinherited

method called after setThis() method this method can oly be called once.

Reimplemented in STAT_UniformLaplaceTransform.

Referenced by CORE_Object::setThis(), and STAT_UniformLaplaceTransform::toDoAfterThisSetting().

Here is the caller graph for this function:

virtual tString MMSD_DoubleSymmetricMatrix::toString ( ) const
inlinevirtual

print the matrix taking into account the view

Reimplemented from CORE_Object.

References null.

virtual tReal MMSD_DoubleSymmetricMatrix::trace ( ) const
inlinevirtual

return the trace of the symmetric matrix

References null.

Member Data Documentation

const tFlag MMSD_DoubleSymmetricMatrix::FULL_STORAGE =0
static

to store symmetric matrix in afull storage form

Referenced by MMSD_DoubleSymmetricMatrix(), orthogonalTransformation(), setStorage(), and testOrthogonalization().

tBoolean CORE_Object::mIsMemoryTesting =false
staticinherited

indicator to store all classes created and deleted only for debuging version

Referenced by CORE_Object::CORE_Object(), main(), CORE_Object::printObjectsInMemory(), and CORE_Object::~CORE_Object().

const tFlag MMSD_DoubleSymmetricMatrix::PACKED_STORAGE =1
static

to store symmetric matrix in a packed storage form

Referenced by getStorage(), MMSD_Law::initialize(), and setStorage().


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