klMatrix
Public Member Functions | Protected Member Functions | Protected Attributes
klSamplePopulation< TYPE > Class Template Reference

#include <kl_sample_population.h>

Inheritance diagram for klSamplePopulation< TYPE >:
Inheritance graph
Collaboration diagram for klSamplePopulation< TYPE >:
Collaboration graph

Public Member Functions

 klSamplePopulation ()
 
 klSamplePopulation (const klSamplePopulation< TYPE > &src)
 
 klSamplePopulation (const klMatrix< TYPE > &src)
 
 klSamplePopulation (unsigned int row, unsigned int col)
 
 klSamplePopulation (klMemMgr *mgr, unsigned int row, unsigned int col)
 
 klSamplePopulation (TYPE *mem, unsigned int row, unsigned int col)
 
 ~klSamplePopulation ()
 
vector< string > getDistTestNames ()
 
klMatrix< double > calcDistributionTests ()
 
void calcDescriptiveStats ()
 
klMatrix< TYPE > covarianceMatrix ()
 
klMatrix< TYPE > correlationMatrix (klMatrix< TYPE > covariance)
 
klMatrix< TYPE > whiteningTransform ()
 
klMatrix< TYPE > centeredData ()
 
TYPE stddev (unsigned int i)
 
TYPE mean (unsigned int i)
 
TYPE variance (unsigned int i)
 
TYPE skewness (unsigned int i)
 
TYPE kurtosis (unsigned int i)
 
klVector< TYPE > sampleMean ()
 
- Public Member Functions inherited from klMatrix< TYPE >
 klMatrix (TYPE *mem, __int64 row, __int64 col, bool own=0)
 
 klMatrix (klMemMgr *mgr, __int64 row, __int64 col)
 
 klMatrix (__int64 row, __int64 col)
 
 klMatrix ()
 
 klMatrix (const klMatrix< TYPE > &src)
 
 klMatrix (klMatrix< TYPE > &&src)
 
 ~klMatrix ()
 
klMatrix< TYPE > & operator= (const klMatrix< TYPE > &src)
 
klVector< TYPE > & operator[] (__int64 row) const
 
klMatrix< TYPE > operator* (klMatrix< TYPE > a) const
 
klVector< TYPE > operator* (klVector< TYPE > a) const
 
klMatrix< TYPE > & operator= (TYPE c)
 
klMatrix< TYPE > & operator+= (TYPE c)
 
klMatrix< TYPE > & operator+= (const klMatrix< TYPE > &c)
 
klMatrix< TYPE > & operator-= (const klMatrix< TYPE > &c)
 
klMatrix< TYPE > & operator-= (TYPE c)
 
klMatrix< TYPE > & operator*= (const klMatrix< TYPE > &a)
 
klMatrix< TYPE > & operator*= (TYPE c)
 
klMatrix< TYPE > & operator/= (TYPE c)
 
bool operator== (const klMatrix< TYPE > &m) const
 
klMatrix< TYPE > & operator/= (const klMatrix< TYPE > &c)
 
void setRow (__int64 j, klVector< TYPE > r)
 
klMatrix< TYPE > transpose () const
 
void threshold (double low=DBL_MIN, double lowVal=DBL_MIN, double high=DBL_MAX, double highVal=DBL_MAX)
 
complex< double > det ()
 
klMatrix< TYPE > getSubBlock (__int64 i, __int64 j, __int64 k, __int64 l)
 
void setSubBlock (klMatrix< TYPE > block, __int64 i, __int64 j)
 
void setColumn (__int64 i, klVector< TYPE > v)
 
klMatrix< TYPE > inverse () const
 
klVector< complex< double > > eigenvalues ()
 
TYPE trace ()
 
TYPE ConditionNumber (bool ellone=0)
 
TYPE norm (bool ell_infty=0)
 
klVector< TYPE > getColumn (__int64 col)
 
__int64 getRows () const
 
__int64 getColumns () const
 
TYPE * getMemory () const
 
klMemMgrgetMemMgr () const
 
bool isContiguous () const
 
klMatrix< TYPE > columnToRowMajor ()
 
void makeNanFriendly ()
 
size_t precision () const
 
void setup (__int64 row, __int64 col, klMemMgr *mgr=0)
 
klMatrix< TYPE > upper ()
 
klMatrix< TYPE > lower ()
 
klVector< TYPE > diag ()
 
template<>
klMatrix< float > operator* (klMatrix< float > a) const
 
template<>
float norm (bool ell_infty)
 
template<>
float ConditionNumber (bool ellone)
 
- Public Member Functions inherited from klRefCount< klMutex >
 klRefCount (void)
 
 klRefCount (const klRefCount &obj)
 
 ~klRefCount (void)
 
void addRef (void)
 
bool deleteRef (void)
 
klRefCountoperator= (const klRefCount &obj)
 
long useCount () const
 

Protected Member Functions

TYPE * getMeanVector ()
 
TYPE * getVarianceVector ()
 
TYPE * getSkewnessVector ()
 
TYPE * getKurtosisVector ()
 

Protected Attributes

TYPE * _mean
 
TYPE * _variance
 
TYPE * _skewness
 
TYPE * _kurtosis
 
bool _statsCalculated
 
unsigned int _numDistTests
 
- Protected Attributes inherited from klMatrix< TYPE >
klVector< TYPE > * _vectors
 
__int64 _own
 
bool _contiguous
 
__int64 _row
 
__int64 _col
 
TYPE * _memory
 
klMemMgr_mgr
 
string _filename
 

Additional Inherited Members

- Data Fields inherited from klMatrix< TYPE >
vector< std::string > _dimensionNames
 

Constructor & Destructor Documentation

template<class TYPE>
klSamplePopulation< TYPE >::klSamplePopulation ( )
inline
template<class TYPE>
klSamplePopulation< TYPE >::klSamplePopulation ( const klSamplePopulation< TYPE > &  src)
inline
template<class TYPE>
klSamplePopulation< TYPE >::klSamplePopulation ( const klMatrix< TYPE > &  src)
inline
template<class TYPE>
klSamplePopulation< TYPE >::klSamplePopulation ( unsigned int  row,
unsigned int  col 
)
inline
template<class TYPE>
klSamplePopulation< TYPE >::klSamplePopulation ( klMemMgr mgr,
unsigned int  row,
unsigned int  col 
)
inline
template<class TYPE>
klSamplePopulation< TYPE >::klSamplePopulation ( TYPE *  mem,
unsigned int  row,
unsigned int  col 
)
inline
template<class TYPE>
klSamplePopulation< TYPE >::~klSamplePopulation ( )
inline

Member Function Documentation

template<class TYPE>
void klSamplePopulation< TYPE >::calcDescriptiveStats ( )
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
klMatrix<double> klSamplePopulation< TYPE >::calcDistributionTests ( )
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
klMatrix<TYPE> klSamplePopulation< TYPE >::centeredData ( )
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
klMatrix<TYPE> klSamplePopulation< TYPE >::correlationMatrix ( klMatrix< TYPE >  covariance)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
klMatrix<TYPE> klSamplePopulation< TYPE >::covarianceMatrix ( )
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
vector<string > klSamplePopulation< TYPE >::getDistTestNames ( )
inline

Here is the caller graph for this function:

template<class TYPE>
TYPE* klSamplePopulation< TYPE >::getKurtosisVector ( )
inlineprotected
template<class TYPE>
TYPE* klSamplePopulation< TYPE >::getMeanVector ( )
inlineprotected

Here is the caller graph for this function:

template<class TYPE>
TYPE* klSamplePopulation< TYPE >::getSkewnessVector ( )
inlineprotected
template<class TYPE>
TYPE* klSamplePopulation< TYPE >::getVarianceVector ( )
inlineprotected
template<class TYPE>
TYPE klSamplePopulation< TYPE >::kurtosis ( unsigned int  i)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
TYPE klSamplePopulation< TYPE >::mean ( unsigned int  i)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
klVector<TYPE> klSamplePopulation< TYPE >::sampleMean ( )
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
TYPE klSamplePopulation< TYPE >::skewness ( unsigned int  i)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
TYPE klSamplePopulation< TYPE >::stddev ( unsigned int  i)
inline

Here is the call graph for this function:

template<class TYPE>
TYPE klSamplePopulation< TYPE >::variance ( unsigned int  i)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE>
klMatrix<TYPE> klSamplePopulation< TYPE >::whiteningTransform ( )
inline

Field Documentation

template<class TYPE>
TYPE* klSamplePopulation< TYPE >::_kurtosis
protected
template<class TYPE>
TYPE* klSamplePopulation< TYPE >::_mean
protected
template<class TYPE>
unsigned int klSamplePopulation< TYPE >::_numDistTests
protected
template<class TYPE>
TYPE* klSamplePopulation< TYPE >::_skewness
protected
template<class TYPE>
bool klSamplePopulation< TYPE >::_statsCalculated
protected
template<class TYPE>
TYPE* klSamplePopulation< TYPE >::_variance
protected

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