CVM Class Library  8.1
This C++ class library encapsulates concepts of vector and different matrices including square, band, symmetric and hermitian ones in Euclidean space of real and complex numbers.
 All Classes Files Functions Variables Typedefs Friends Macros Pages
Functions | Variables
utils.cpp File Reference
#include "cvm.h"
#include "blas.h"
#include "cfun.h"
Include dependency graph for utils.cpp:

Go to the source code of this file.

Functions

template<>
CVM_API float _real< std::complex< float >, float > (const std::complex< float > &mT)
template<>
CVM_API double _real< std::complex< double >, double > (const std::complex< double > &mT)
template<>
CVM_API float _imag< std::complex< float >, float > (const std::complex< float > &mT)
template<>
CVM_API double _imag< std::complex< double >, double > (const std::complex< double > &mT)
template<>
CVM_API void __copy< float > (tint nSize, const float *pFrom, tint nFromIncr, float *pTo, tint nToIncr)
template<>
CVM_API void __copy< double > (tint nSize, const double *pFrom, tint nFromIncr, double *pTo, tint nToIncr)
template<>
CVM_API void __copy< std::complex< float > > (tint nSize, const std::complex< float > *pFrom, tint nFromIncr, std::complex< float > *pTo, tint nToIncr)
template<>
CVM_API void __copy< std::complex< double > > (tint nSize, const std::complex< double > *pFrom, tint nFromIncr, std::complex< double > *pTo, tint nToIncr)
template<>
CVM_API void __copy< tint > (tint nSize, const tint *pFrom, tint nFromIncr, tint *pTo, tint nToIncr)
template<>
CVM_API void __swap< float > (tint nSize, float *p1, tint n1Incr, float *p2, tint n2Incr)
template<>
CVM_API void __swap< double > (tint nSize, double *p1, tint n1Incr, double *p2, tint n2Incr)
template<>
CVM_API void __swap< std::complex< float > > (tint nSize, std::complex< float > *p1, tint n1Incr, std::complex< float > *p2, tint n2Incr)
template<>
CVM_API void __swap< std::complex< double > > (tint nSize, std::complex< double > *p1, tint n1Incr, std::complex< double > *p2, tint n2Incr)
template<>
CVM_API void __swap< tint > (tint nSize, tint *p1, tint n1Incr, tint *p2, tint n2Incr)
template<>
CVM_API void __low_up< basic_srmatrix< float > > (basic_srmatrix< float > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __low_up< basic_srmatrix< double > > (basic_srmatrix< double > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __low_up< basic_scmatrix< float, std::complex< float > > > (basic_scmatrix< float, std::complex< float > > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __low_up< basic_scmatrix< double, std::complex< double > > > (basic_scmatrix< double, std::complex< double > > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __low_up< basic_srbmatrix< float > > (basic_srbmatrix< float > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __low_up< basic_srbmatrix< double > > (basic_srbmatrix< double > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __low_up< basic_scbmatrix< float, std::complex< float > > > (basic_scbmatrix< float, std::complex< float > > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __low_up< basic_scbmatrix< double, std::complex< double > > > (basic_scbmatrix< double, std::complex< double > > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API tint __cholesky< basic_srmatrix< float > > (basic_srmatrix< float > &m)
template<>
CVM_API tint __cholesky< basic_srmatrix< double > > (basic_srmatrix< double > &m)
template<>
CVM_API tint __cholesky< basic_scmatrix< float, std::complex< float > > > (basic_scmatrix< float, std::complex< float > > &m)
template<>
CVM_API tint __cholesky< basic_scmatrix< double, std::complex< double > > > (basic_scmatrix< double, std::complex< double > > &m)
template<>
CVM_API void __bunch_kaufman< basic_srmatrix< float > > (basic_srmatrix< float > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __bunch_kaufman< basic_srmatrix< double > > (basic_srmatrix< double > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __bunch_kaufman< basic_scmatrix< float, std::complex< float > > > (basic_scmatrix< float, std::complex< float > > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __bunch_kaufman< basic_scmatrix< double, std::complex< double > > > (basic_scmatrix< double, std::complex< double > > &m, tint *nPivots) throw (cvmexception)
template<>
CVM_API void __ger< float, basic_rmatrix< float >, basic_rvector< float > > (basic_rmatrix< float > &m, const basic_rvector< float > &vCol, const basic_rvector< float > &vRow, float dAlpha)
template<>
CVM_API void __ger< double, basic_rmatrix< double >, basic_rvector< double > > (basic_rmatrix< double > &m, const basic_rvector< double > &vCol, const basic_rvector< double > &vRow, double dAlpha)
template<>
CVM_API void __poequ< float, basic_srsmatrix< float >, basic_rvector< float > > (const basic_srsmatrix< float > &m, basic_rvector< float > &vScalings, float &dCond, float &dMax)
template<>
CVM_API void __poequ< double, basic_srsmatrix< double >, basic_rvector< double > > (const basic_srsmatrix< double > &m, basic_rvector< double > &vScalings, double &dCond, double &dMax)
template<>
CVM_API void __poequ< float, basic_schmatrix< float, std::complex< float > >, basic_rvector< float > > (const basic_schmatrix< float, std::complex< float > > &m, basic_rvector< float > &vScalings, float &dCond, float &dMax)
template<>
CVM_API void __poequ< double, basic_schmatrix< double, std::complex< double > >, basic_rvector< double > > (const basic_schmatrix< double, std::complex< double > > &m, basic_rvector< double > &vScalings, double &dCond, double &dMax)

Variables

CVM_NAMESPACE_BEG CriticalSection emCS

Function Documentation

template<>
CVM_API float _real< std::complex< float >, float > ( const std::complex< float > &  mT)

Definition at line 123 of file utils.cpp.

template<>
CVM_API double _real< std::complex< double >, double > ( const std::complex< double > &  mT)

Definition at line 129 of file utils.cpp.

template<>
CVM_API float _imag< std::complex< float >, float > ( const std::complex< float > &  mT)

Definition at line 135 of file utils.cpp.

template<>
CVM_API double _imag< std::complex< double >, double > ( const std::complex< double > &  mT)

Definition at line 141 of file utils.cpp.

template<>
CVM_API void __copy< float > ( tint  nSize,
const float *  pFrom,
tint  nFromIncr,
float *  pTo,
tint  nToIncr 
)

Definition at line 147 of file utils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<>
CVM_API void __copy< double > ( tint  nSize,
const double *  pFrom,
tint  nFromIncr,
double *  pTo,
tint  nToIncr 
)

Definition at line 155 of file utils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<>
CVM_API void __copy< std::complex< float > > ( tint  nSize,
const std::complex< float > *  pFrom,
tint  nFromIncr,
std::complex< float > *  pTo,
tint  nToIncr 
)

Definition at line 163 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __copy< std::complex< double > > ( tint  nSize,
const std::complex< double > *  pFrom,
tint  nFromIncr,
std::complex< double > *  pTo,
tint  nToIncr 
)

Definition at line 171 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __copy< tint > ( tint  nSize,
const tint pFrom,
tint  nFromIncr,
tint pTo,
tint  nToIncr 
)

Definition at line 179 of file utils.cpp.

template<>
CVM_API void __swap< float > ( tint  nSize,
float *  p1,
tint  n1Incr,
float *  p2,
tint  n2Incr 
)

Definition at line 189 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __swap< double > ( tint  nSize,
double *  p1,
tint  n1Incr,
double *  p2,
tint  n2Incr 
)

Definition at line 197 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __swap< std::complex< float > > ( tint  nSize,
std::complex< float > *  p1,
tint  n1Incr,
std::complex< float > *  p2,
tint  n2Incr 
)

Definition at line 205 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __swap< std::complex< double > > ( tint  nSize,
std::complex< double > *  p1,
tint  n1Incr,
std::complex< double > *  p2,
tint  n2Incr 
)

Definition at line 213 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __swap< tint > ( tint  nSize,
tint p1,
tint  n1Incr,
tint p2,
tint  n2Incr 
)

Definition at line 221 of file utils.cpp.

template<>
CVM_API void __low_up< basic_srmatrix< float > > ( basic_srmatrix< float > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 234 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __low_up< basic_srmatrix< double > > ( basic_srmatrix< double > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 243 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __low_up< basic_scmatrix< float, std::complex< float > > > ( basic_scmatrix< float, std::complex< float > > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 253 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __low_up< basic_scmatrix< double, std::complex< double > > > ( basic_scmatrix< double, std::complex< double > > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 263 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __low_up< basic_srbmatrix< float > > ( basic_srbmatrix< float > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 273 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __low_up< basic_srbmatrix< double > > ( basic_srbmatrix< double > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 286 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __low_up< basic_scbmatrix< float, std::complex< float > > > ( basic_scbmatrix< float, std::complex< float > > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 299 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __low_up< basic_scbmatrix< double, std::complex< double > > > ( basic_scbmatrix< double, std::complex< double > > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 312 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API tint __cholesky< basic_srmatrix< float > > ( basic_srmatrix< float > &  m)

Definition at line 325 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API tint __cholesky< basic_srmatrix< double > > ( basic_srmatrix< double > &  m)

Definition at line 338 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API tint __cholesky< basic_scmatrix< float, std::complex< float > > > ( basic_scmatrix< float, std::complex< float > > &  m)

Definition at line 351 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API tint __cholesky< basic_scmatrix< double, std::complex< double > > > ( basic_scmatrix< double, std::complex< double > > &  m)

Definition at line 364 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __bunch_kaufman< basic_srmatrix< float > > ( basic_srmatrix< float > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 377 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __bunch_kaufman< basic_srmatrix< double > > ( basic_srmatrix< double > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 394 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __bunch_kaufman< basic_scmatrix< float, std::complex< float > > > ( basic_scmatrix< float, std::complex< float > > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 411 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __bunch_kaufman< basic_scmatrix< double, std::complex< double > > > ( basic_scmatrix< double, std::complex< double > > &  m,
tint nPivots 
) throw (cvmexception)

Definition at line 428 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __ger< float, basic_rmatrix< float >, basic_rvector< float > > ( basic_rmatrix< float > &  m,
const basic_rvector< float > &  vCol,
const basic_rvector< float > &  vRow,
float  dAlpha 
)

Definition at line 445 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __ger< double, basic_rmatrix< double >, basic_rvector< double > > ( basic_rmatrix< double > &  m,
const basic_rvector< double > &  vCol,
const basic_rvector< double > &  vRow,
double  dAlpha 
)

Definition at line 456 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __poequ< float, basic_srsmatrix< float >, basic_rvector< float > > ( const basic_srsmatrix< float > &  m,
basic_rvector< float > &  vScalings,
float &  dCond,
float &  dMax 
)

Definition at line 513 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __poequ< double, basic_srsmatrix< double >, basic_rvector< double > > ( const basic_srsmatrix< double > &  m,
basic_rvector< double > &  vScalings,
double &  dCond,
double &  dMax 
)

Definition at line 526 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __poequ< float, basic_schmatrix< float, std::complex< float > >, basic_rvector< float > > ( const basic_schmatrix< float, std::complex< float > > &  m,
basic_rvector< float > &  vScalings,
float &  dCond,
float &  dMax 
)

Definition at line 539 of file utils.cpp.

Here is the call graph for this function:

template<>
CVM_API void __poequ< double, basic_schmatrix< double, std::complex< double > >, basic_rvector< double > > ( const basic_schmatrix< double, std::complex< double > > &  m,
basic_rvector< double > &  vScalings,
double &  dCond,
double &  dMax 
)

Definition at line 552 of file utils.cpp.

Here is the call graph for this function:

Variable Documentation

CVM_NAMESPACE_BEG CriticalSection emCS

Definition at line 18 of file utils.cpp.