C++ main module for mmsd Package
1.0
|
this class describes a vector of double More...
#include <LAP_Vector.h>
Public Member Functions | |
void | getSharedPointer (boost::shared_ptr< LAP_Vector< T > > &p) |
return the shared pointer corresponding to the class with casting More... | |
void | getSharedPointer (boost::shared_ptr< const LAP_Vector< T > > &p) const |
return the shared pointer corresponding to the class whith casting More... | |
const T & | operator[] (const tLVectorIndex &i) const |
get the value for reading only More... | |
T & | operator[] (const tLVectorIndex &i) |
get the value for reading & writing More... | |
T & | operator() (const tLVectorIndex &i) |
get the value for reading & writing More... | |
const T & | operator() (const tLVectorIndex &i) const |
get the value for reading only More... | |
void | add (const T &s) |
add operator More... | |
void | sub (const T &s) |
sub operator More... | |
void | power (const T &s) |
power operator More... | |
void | multiplyBy (const LAP_Vector< T > &s) |
multiplication element by element vector operator More... | |
LAP_Vector< T > & | divideBy (const LAP_Vector< T > &s) |
division elementt by elementt vector operator More... | |
virtual void | copy (const vector< T > &s) |
copy the vector More... | |
void | setIsValuesReferenced (const tBoolean &isReferenced) |
deferenced the values the values is unreferenced : so it is not destroyed with this class is desctroyed More... | |
void | setValues (const tLVectorIndex &n, T *&values, const tBoolean &isReferenced) |
void | setValues (const tLVectorIndex &n, const T *values) |
copy the values More... | |
void | setValues (const tLVectorIndex &n, const tLVectorIncrement &incv, const T *values) |
copy the values More... | |
tBoolean | setView (SP::LAP_View v) |
set the view More... | |
tBoolean | setView (const tLVectorIndex &start, const tLVectorIndex &end, const tLVectorIndex &increment) |
set the view of the vector More... | |
void | resetView () |
set the view of the vector to all the values More... | |
void | setSize (const tLVectorIndex &n) |
set the view to [0,n[ by 1 increment if values is too small, re-alocate it More... | |
void | fit () |
fit the vector More... | |
void | init (const T &v) |
init the value to v from the view More... | |
void | removeValues (const tLVectorIndex &index, const tLVectorIndex &n) |
remove n values of the array from index if values=[0,1,...,index,...index+n,index+n+,....,size[ the values {index,...index+n-1} are removed values becomes values=[0,...index-1,index+n,...,size-n[ More... | |
void | set (const tLVectorIndex &i, const T &v) |
set element at index i taking into account the view More... | |
virtual void | add (const tLVectorIndex &i, const T &v) |
add v to element at index i taking into account the view More... | |
void | merge (const T &alpha, const LAP_Vector< T > &x, const T &beta, const LAP_Vector< T > &y) |
this is the merging of 2 vectors This = [alpha.x,beta.y] More... | |
virtual const T * | getValues () const |
get the values for reading More... | |
virtual T * | getValues () |
get the values for writing More... | |
virtual tLVectorIndex | getNullValuesNumber (const tReal &eps) const =0 |
virtual const T & | get (const tLVectorIndex &i) const |
get element at index i taking into account the view More... | |
tLVectorIndex | getSize () const |
get the size of the vector More... | |
tLVectorIndex | getCapacity () const |
get the capacity More... | |
const tLVectorIncrement & | getIncrement () const |
get the increment of the vector More... | |
const tLVectorIndex & | getStart () const |
get the start of the vector More... | |
T | sum () const |
compute the sum of the elements More... | |
void | max (LAP_Vector< T > &y) |
y=max(this,y); More... | |
T | maxValue (tLVectorIndex &i) const |
return the max value of the vector and the corresponding index More... | |
T | minValue (tLVectorIndex &i) const |
return the min value of the vector and the corresponding index More... | |
tLVectorIndex | indexMin () const |
retun the index min of th evector More... | |
tReal | distance2 (const LAP_Vector< T > &a) const |
compute the distance between this and a More... | |
void | quickSort () |
quit sort the vector in an increasing order More... | |
void | sort (const tFlag &order) |
sort in order view untaken into account More... | |
void | sort () |
sort in ascent order view untaken into account More... | |
tBoolean | compare (const T &a, const T &b, const tFlag &order) |
compare More... | |
void | reverse () |
reverse the vector More... | |
double & | getNullValue () |
get a null value More... | |
const double & | getNullValue () const |
get a const null value More... | |
tBoolean | isNullValue (const double &v) const |
return true if the value is a null 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 tString | toString () const |
return the string representation of the object node 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 void | max (const LAP_Vector< T > &x, LAP_Vector< T > &y) |
y=max(x,y); More... | |
static tReal | distance2 (const LAP_Vector< T > &a, const LAP_Vector< T > &b) |
compute the distance between 2 vectors a & b 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 | ASCENT =1 |
static const tFlag | DESCENT =2 |
static double | ZERO_EPSILON =1.e-18 |
static tBoolean | mIsMemoryTesting =false |
indicator to store all classes created and deleted only for debuging version More... | |
Protected Member Functions | |
LAP_Vector () | |
build a vector More... | |
virtual | ~LAP_Vector () |
destroy a vector More... | |
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... | |
this class describes a vector of double
this class describes a vector of size n & p capacity capacity is at least n+1
this class describes a vector of lapack_int
This class describes a vector
|
inlineprotected |
build a vector
|
inlineprotectedvirtual |
destroy a vector
|
inline |
add operator
Referenced by LAP_IntegerVector::add(), LAP_DoubleVector::add(), LAP_IntegerVector::operator+=(), and LAP_DoubleVector::operator+=().
|
inlinevirtual |
add v to element at index i taking into account the view
Reimplemented in LAP_DoubleVector, and LAP_IntegerVector.
|
inline |
compare
|
inlinevirtual |
copy the vector
Reimplemented in LAP_DoubleVector.
Referenced by LAP_DoubleVector::copy(), LAP_IntegerVector::operator=(), and LAP_DoubleVector::operator=().
|
inline |
compute the distance between this and a
Referenced by LAP_DoubleVector::distance2(), and LAP_Vector< lapack_int >::distance2().
|
static |
compute the distance between 2 vectors a & b
References LAP_Vector< T >::getIncrement(), LAP_Vector< T >::getSize(), LAP_Vector< T >::getStart(), tLVectorIncrement, tLVectorIndex, and tReal.
|
inline |
division elementt by elementt vector operator
|
inline |
fit the vector
|
inlinevirtual |
get element at index i taking into account the view
Referenced by LAP_DoubleMatrixStorage::getValues(), LAP_DoubleMatrixStorage::init(), and LAP_DoubleMatrix::vectorProduct().
|
inline |
get the capacity
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().
|
inherited |
return the class name of the object
References tString.
Referenced by CORE_Object::getIdentityString().
|
inlineinherited |
return the identity string of the object of the form className_at_address
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().
|
inline |
get the increment of the vector
Referenced by LAP_Vector< lapack_int >::add(), LAP_IntegerVector::add(), LAP_DoubleVector::add(), LAP_DoublePackedUpperMatrix::computeEigenValues(), LAP_DoubleBandedUpperMatrix::computeEigenValues(), LAP_DoubleFullUpperMatrix::computeEigenValues(), LAP_IntegerVector::copy(), LAP_DoubleVector::copy(), LAP_ConstDoubleVector::distance2(), LAP_Vector< T >::distance2(), LAP_Vector< lapack_int >::divideBy(), LAP_DoublePackedSymmetricMatrix::dotProduct(), LAP_DoubleFullSymmetricMatrix::dotProduct(), LAP_Vector< lapack_int >::max(), LAP_Vector< T >::merge(), LAP_Vector< lapack_int >::multiplyBy(), LAP_Vector< lapack_int >::power(), LAP_ConstDoubleVector::product(), LAP_DoubleVector::product(), MMSD_DoubleSymmetricMatrix::product(), LAP_DoublePackedUpperMatrix::rankProduct(), LAP_DoubleBandedUpperMatrix::rankProduct(), LAP_DoubleFullUpperMatrix::rankProduct(), LAP_DoublePackedSymmetricMatrix::rankSymmetricProduct(), LAP_DoubleFullSymmetricMatrix::rankSymmetricProduct(), LAP_DoublePackedUpperMatrix::solve(), LAP_DoubleBandedUpperMatrix::solve(), LAP_DoubleFullUpperMatrix::solve(), LAP_Vector< lapack_int >::sub(), LAP_DoubleVector::swap(), LAP_DoublePackedUpperMatrix::vectorProduct(), LAP_DoublePackedSymmetricMatrix::vectorProduct(), LAP_DoubleMatrix::vectorProduct(), LAP_DoubleBandedSymmetricMatrix::vectorProduct(), LAP_DoubleBandedUpperMatrix::vectorProduct(), LAP_DoubleFullSymmetricMatrix::vectorProduct(), LAP_DoubleFullUpperMatrix::vectorProduct(), and LAP_DoubleFullGeneralMatrix::vectorProduct().
|
inlineinherited |
get a null value
Referenced by LAP_DoubleBandedStorage::operator()(), LAP_DoubleBandedUpperMatrix::operator()(), LAP_DoublePackedUpperMatrix::operator()(), and LAP_DoubleFullUpperMatrix::operator()().
|
inlineinherited |
get a const null value
|
pure virtual |
Implemented in LAP_DoubleVector, and LAP_IntegerVector.
|
inlinestaticinherited |
get output
|
inlineinherited |
return the identity string of the object
References CORE_Object::pointer2String().
|
inlineinherited |
get the shared pointer of this class into p
Referenced by CORE_Map< Key, Value >::getSharedPointer(), CORE_Array< tFlag >::getSharedPointer(), LAP_ConstVector< lapack_real >::getSharedPointer(), STAT_Combinatorial< T >::getSharedPointer(), LAP_Vector< lapack_int >::getSharedPointer(), CORE_Vector< T >::getSharedPointer(), CORE_Matrix< T >::getSharedPointer(), and CORE_Object::printObjectsInMemory().
|
inlineinherited |
get the shared pointer of this class into p
|
inline |
return the shared pointer corresponding to the class with casting
|
inline |
return the shared pointer corresponding to the class whith casting
|
inline |
get the size of the vector
Referenced by LAP_Vector< lapack_int >::add(), LAP_IntegerVector::add(), LAP_DoubleVector::add(), MMSD_Model::computeSampleClusterProbabilities(), LAP_IntegerVector::copy(), LAP_DoubleVector::copy(), LAP_ConstDoubleVector::distance2(), LAP_Vector< T >::distance2(), LAP_Vector< lapack_int >::divideBy(), LAP_DoublePackedSymmetricMatrix::dotProduct(), LAP_DoubleFullSymmetricMatrix::dotProduct(), MMSD_Law::isOutOfBounds(), LAP_Vector< lapack_int >::max(), LAP_Vector< T >::merge(), LAP_Vector< lapack_int >::multiplyBy(), LAP_Vector< lapack_int >::power(), LAP_ConstDoubleVector::product(), LAP_DoubleVector::product(), LAP_DoublePackedUpperMatrix::rankProduct(), LAP_DoubleBandedUpperMatrix::rankProduct(), LAP_DoubleFullUpperMatrix::rankProduct(), LAP_DoublePackedSymmetricMatrix::rankSymmetricProduct(), LAP_DoubleFullSymmetricMatrix::rankSymmetricProduct(), MMSD_Law::saveToUIClass(), MMSD_Cluster::saveToUIClass(), MMSD_Model::saveToUIClass(), LAP_Vector< lapack_int >::setSize(), LAP_DoublePackedUpperMatrix::solve(), LAP_DoubleBandedUpperMatrix::solve(), LAP_DoubleFullUpperMatrix::solve(), MMSD_Law::sort(), LAP_Vector< lapack_int >::sub(), LAP_DoubleVector::swap(), testGaussianLaw11N(), testGaussianLaw1PN(), testGaussianLaw2PN(), MMSD_ConstraintGaussianCluster::updateFreedomDegrees(), MMSD_GaussianCluster::updateFreedomDegrees(), MMSD_GaussianLaw::updateMean(), MMSD_Cluster::updateRate(), MMSD_GaussianCluster::updateWeights(), LAP_DoublePackedUpperMatrix::vectorProduct(), LAP_DoublePackedSymmetricMatrix::vectorProduct(), LAP_DoubleMatrix::vectorProduct(), LAP_DoubleBandedSymmetricMatrix::vectorProduct(), LAP_DoubleBandedUpperMatrix::vectorProduct(), LAP_DoubleFullSymmetricMatrix::vectorProduct(), LAP_DoubleFullUpperMatrix::vectorProduct(), and LAP_DoubleFullGeneralMatrix::vectorProduct().
|
inline |
get the start of the vector
Referenced by LAP_IntegerVector::add(), LAP_IntegerVector::copy(), LAP_ConstDoubleVector::distance2(), and LAP_Vector< T >::distance2().
|
inlinestaticinherited |
get type name
References tString.
|
inlinevirtual |
get the values for reading
Referenced by MMSD_StiefelFunction::computeFunction(), MMSD_Cluster::computeMultivariateDensity(), MMSD_Model::esperanceEvaluation(), MMSD_Cluster::initialize(), MMSD_Law::saveToUIClass(), MMSD_Cluster::saveToUIClass(), MMSD_Model::saveToUIClass(), testGaussianLaw11N(), testGaussianLaw1PN(), MMSD_ConstraintGaussianCluster::updateFreedomDegrees(), MMSD_GaussianCluster::updateFreedomDegrees(), MMSD_GaussianLaw::updateMean(), and MMSD_Cluster::updateRate().
|
inlinevirtual |
get the values for writing
tLVectorIndex LAP_Vector< T >::indexMin | ( | ) | const |
retun the index min of th evector
References tLVectorIncrement, and tLVectorIndex.
Referenced by LAP_DoublePackedStorage::indexMin().
|
inline |
init the value to v from the view
Referenced by LAP_DoubleMatrixStorage::init().
|
inlinestaticinherited |
return true if the machine is a 32 bits machine
References CORE_Object::is64Architecture().
|
staticinherited |
return true if the machine is a 64 bits machine
Referenced by CORE_Object::is32Architecture().
|
inlineinherited |
return true if the object is an instance of T
References null.
|
inlineinherited |
return true if the value is a null
|
inlinestatic |
y=max(x,y);
Referenced by LAP_Vector< lapack_int >::max().
|
inline |
y=max(this,y);
T LAP_Vector< T >::maxValue | ( | tLVectorIndex & | i | ) | const |
return the max value of the vector and the corresponding index
References tLVectorIncrement, and tLVectorIndex.
Referenced by LAP_DoubleVector::maxValue().
void LAP_Vector< T >::merge | ( | const T & | alpha, |
const LAP_Vector< T > & | x, | ||
const T & | beta, | ||
const LAP_Vector< T > & | y | ||
) |
this is the merging of 2 vectors This = [alpha.x,beta.y]
References LAP_Vector< T >::getIncrement(), LAP_Vector< T >::getSize(), tLVectorIncrement, and tLVectorIndex.
Referenced by LAP_DoubleFullStorage::concat().
T LAP_Vector< T >::minValue | ( | tLVectorIndex & | i | ) | const |
return the min value of the vector and the corresponding index
References tLVectorIncrement, and tLVectorIndex.
Referenced by LAP_DoubleVector::minValue().
|
inline |
multiplication element by element vector operator
|
inline |
get the value for reading & writing
|
inline |
get the value for reading only
|
inline |
get the value for reading only
|
inline |
get the value for reading & writing
|
staticinherited |
print on output
References null, and CORE_Object::print().
Referenced by CORE_Exception::CORE_Exception().
|
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().
|
inline |
power operator
|
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().
|
inlinevirtualinherited |
print the class
References CORE_Object::print(), and CORE_Object::toString().
|
virtualinherited |
print the class
Reimplemented in CORE_Out.
References null, and CORE_Object::print().
|
virtualinherited |
References null.
|
virtualinherited |
References null.
|
inlinestaticinherited |
print the class
|
staticinherited |
print object in memory
References CORE_Object::getClassName(), CORE_Object::getSharedPointer(), and CORE_Object::mIsMemoryTesting.
Referenced by main().
void LAP_Vector< T >::quickSort | ( | ) |
quit sort the vector in an increasing order
|
inline |
remove n values of the array from index if values=[0,1,...,index,...index+n,index+n+,....,size[ the values {index,...index+n-1} are removed values becomes values=[0,...index-1,index+n,...,size-n[
Referenced by LAP_DoubleFullStorage::removeColumn().
|
inline |
set the view of the vector to all the values
Referenced by LAP_DoubleBandedSymmetricMatrix::computeEigenValueDecomposition(), LAP_DoublePackedSymmetricMatrix::computeEigenValueDecomposition(), LAP_DoubleFullSymmetricMatrix::computeEigenValueDecomposition(), LAP_DoubleBandedSymmetricMatrix::computeEigenValues(), LAP_DoubleFullGeneralMatrix::computeEigenValues(), LAP_DoubleFullSymmetricMatrix::computeEigenValues(), LAP_DoublePackedSymmetricMatrix::computeEigenValues(), LAP_DoublePackedUpperMatrix::getColumn(), LAP_DoublePackedSymmetricMatrix::getColumn(), LAP_DoubleBandedUpperMatrix::getColumn(), LAP_DoubleFullSymmetricMatrix::getColumn(), LAP_DoubleFullUpperMatrix::getColumn(), LAP_DoubleFullGeneralMatrix::getColumn(), LAP_DoublePackedUpperMatrix::getRow(), LAP_DoublePackedSymmetricMatrix::getRow(), LAP_DoubleBandedUpperMatrix::getRow(), LAP_DoubleBandedSymmetricMatrix::getRow(), LAP_DoubleFullSymmetricMatrix::getRow(), LAP_DoubleFullUpperMatrix::getRow(), LAP_DoubleFullGeneralMatrix::getRow(), LAP_DoublePackedUpperMatrix::norm2(), LAP_DoublePackedSymmetricMatrix::norm2(), LAP_DoubleBandedUpperMatrix::norm2(), LAP_DoubleBandedSymmetricMatrix::norm2(), LAP_DoubleFullSymmetricMatrix::norm2(), LAP_DoubleFullUpperMatrix::norm2(), LAP_DoubleFullGeneralMatrix::norm2(), and LAP_DoubleBandedSymmetricMatrix::sum().
void LAP_Vector< T >::reverse | ( | ) |
reverse the vector
References tLVectorIncrement, and tLVectorIndex.
Referenced by MMSD_Law::initialize().
|
inline |
set element at index i taking into account the view
|
inline |
deferenced the values the values is unreferenced : so it is not destroyed with this class is desctroyed
|
inlinestaticinherited |
set output
|
inline |
set the view to [0,n[ by 1 increment if values is too small, re-alocate it
n | size of the vector |
Referenced by LAP_DoubleBandedSymmetricMatrix::computeEigenValueDecomposition(), LAP_DoubleFullGeneralMatrix::computeEigenValueDecomposition(), LAP_DoublePackedSymmetricMatrix::computeEigenValueDecomposition(), LAP_DoubleFullSymmetricMatrix::computeEigenValueDecomposition(), LAP_DoubleBandedSymmetricMatrix::computeEigenValues(), LAP_DoublePackedUpperMatrix::computeEigenValues(), LAP_DoubleBandedUpperMatrix::computeEigenValues(), LAP_DoubleFullUpperMatrix::computeEigenValues(), LAP_DoubleFullGeneralMatrix::computeEigenValues(), LAP_DoubleFullSymmetricMatrix::computeEigenValues(), LAP_DoublePackedSymmetricMatrix::computeEigenValues(), MMSD_Cluster::computeMultivariateDensity(), MMSD_Model::computeSampleClusterIndices(), MMSD_Model::computeSampleClusterProbabilities(), LAP_Vector< lapack_int >::copy(), MMSD_Model::esperanceEvaluation(), LAP_DoublePackedUpperMatrix::getColumn(), LAP_DoublePackedSymmetricMatrix::getColumn(), LAP_DoubleBandedUpperMatrix::getColumn(), LAP_DoubleFullSymmetricMatrix::getColumn(), LAP_DoubleFullUpperMatrix::getColumn(), LAP_DoubleFullGeneralMatrix::getColumn(), LAP_DoublePackedUpperMatrix::getRow(), LAP_DoublePackedSymmetricMatrix::getRow(), LAP_DoubleBandedUpperMatrix::getRow(), LAP_DoubleBandedSymmetricMatrix::getRow(), LAP_DoubleFullSymmetricMatrix::getRow(), LAP_DoubleFullUpperMatrix::getRow(), LAP_DoubleFullGeneralMatrix::getRow(), MMSD_Law::initialize(), MMSD_Cluster::initialize(), LAP_DoublePackedSymmetricMatrix::inverse(), LAP_DoubleFullSymmetricMatrix::inverse(), LAP_DoublePackedUpperMatrix::norm2(), LAP_DoublePackedSymmetricMatrix::norm2(), LAP_DoubleBandedUpperMatrix::norm2(), LAP_DoubleBandedSymmetricMatrix::norm2(), LAP_DoubleFullSymmetricMatrix::norm2(), LAP_DoubleFullUpperMatrix::norm2(), LAP_DoubleFullGeneralMatrix::norm2(), MMSD_Model::parametersOptimizationByEMMethod(), MMSD_DoubleSymmetricMatrix::product(), LAP_DoubleMatrixStorage::setValuesNumber(), LAP_DoublePackedUpperMatrix::sum(), LAP_DoublePackedSymmetricMatrix::sum(), LAP_DoubleBandedUpperMatrix::sum(), LAP_DoubleBandedSymmetricMatrix::sum(), LAP_DoubleFullSymmetricMatrix::sum(), LAP_DoubleFullUpperMatrix::sum(), LAP_DoubleFullGeneralMatrix::sum(), testStiefelFunction(), LAP_DoublePackedUpperMatrix::vectorProduct(), LAP_DoublePackedSymmetricMatrix::vectorProduct(), LAP_DoubleMatrix::vectorProduct(), LAP_DoubleBandedSymmetricMatrix::vectorProduct(), LAP_DoubleBandedUpperMatrix::vectorProduct(), LAP_DoubleFullSymmetricMatrix::vectorProduct(), LAP_DoubleFullUpperMatrix::vectorProduct(), and LAP_DoubleFullGeneralMatrix::vectorProduct().
|
inlineprotectedinherited |
set this weak shared pointer called toDoAfterThis setting method
References CORE_Object::toDoAfterThisSetting().
|
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_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().
|
inline |
Referenced by LAP_DoubleFullStorage::getColumnByReference(), LAP_DoubleFullStorage::getRowByReference(), MMSD_Law::loadFromUIClass(), MMSD_Cluster::loadFromUIClass(), MMSD_Model::loadFromUIClass(), LAP_DoubleMatrixStorage::setValues(), LAP_Vector< lapack_int >::setValues(), testGaussianLaw11N(), testGaussianLaw1PN(), testGaussianLaw2PN(), and testStiefelGaussianLawFunction().
|
inline |
copy the values
n | the size of the values array |
values | the values array |
|
inline |
copy the values
n | the viewed element number of the array |
incv | the distance between values[i] and values[i+1] |
values | the values array |
note the the memory size of values array must be at least n*incv.
|
inline |
set the view
Referenced by LAP_DoubleFullStorage::getColumnByReference(), LAP_DoubleFullStorage::getRowByReference(), LAP_Vector< lapack_int >::resetView(), LAP_Vector< lapack_int >::setSize(), and LAP_Vector< lapack_int >::setView().
|
inline |
set the view of the vector
void LAP_Vector< T >::sort | ( | const tFlag & | order | ) |
sort in order view untaken into account
Sort the objects
References tLVectorIncrement, and tLVectorIndex.
|
inline |
sort in ascent order view untaken into account
Referenced by LAP_Vector< lapack_int >::sort().
|
inline |
sub operator
T LAP_Vector< T >::sum | ( | ) | const |
compute the sum of the elements
References tLVectorIncrement, and tLVectorIndex.
Referenced by LAP_DoubleVector::sum().
|
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().
|
virtualinherited |
return the string representation of the object node
Reimplemented in MM_Attribute, MM_Structure, MMSD_DoubleSymmetricMatrix, CORE_Time, CORE_Vector< T >, CORE_Array< T >, CORE_Array< tString >, CORE_Array< int >, CORE_Array< tFlag >, MM_Class, MMSD_Model, LAP_DoubleMatrix, LAP_DoubleVector, CORE_Array2D< T >, MMSD_Cluster, MMSD_FluryGautschiGaussianLaw, CORE_Color, CORE_Matrix< T >, MMSD_DataSet, CORE_SharedPointersVMap< Key, Value >, CORE_SharedPointersVMap< tString, const CORE_Object >, CORE_SharedPointersVMap< tString, CORE_Object >, MATH_StiefelOptimizer, MMSD_Law, CORE_SharedPointersListVMap< Key, Value >, MATH_Equation, CORE_SharedPointersKVMap< Key, Value >, MATH_TranscendentEquation, MMSD_GaussianLaw, MMSD_GaussianCluster, MMSD_StiefelGaussianLaw, MATH_NewtonEquation, CORE_String, LAP_View, CORE_Integer, LAP_2DView, MMSD_StiefelFunction, CORE_Array3D< T >, MATH_CubicPolynom, MATH_QuadraticPolynom, MATH_ZeroEquation, MMSD_ConstraintGaussianCluster, CORE_Complex, CORE_Real, MATH_EigenFunction, and MATH_StiefelFunction.
References CORE_Object::getIdentityString().
Referenced by CORE_Object::print(), MM_ClassFactory::saveIntoFile(), CORE_SharedPointersKVMap< Key, Value >::toString(), CORE_SharedPointersListVMap< Key, Value >::toString(), MMSD_Law::toString(), CORE_SharedPointersVMap< Key, Value >::toString(), MMSD_Cluster::toString(), and MMSD_Model::toString().
|
static |
|
static |
|
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().
|
staticinherited |
Referenced by LAP_DoublePackedStorage::computeBandsNumber(), LAP_DoubleBandedStorage::computeBandsNumber(), LAP_DoubleFullStorage::computeBandsNumber(), LAP_DoubleBandedStorage::copyFullStorage(), LAP_DoubleBandedStorage::copyPackStorage(), LAP_DoubleMatrixStorage::getNullValuesNumber(), LAP_DoubleFullGeneralMatrix::lowerTest(), LAP_DoubleFullGeneralMatrix::symmetricTest(), and LAP_DoubleFullGeneralMatrix::upperTest().