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
rvector.cpp File Reference
#include "cvm.h"
#include "blas.h"
Include dependency graph for rvector.cpp:

Go to the source code of this file.

Functions

template<>
CVM_NAMESPACE_BEG CVM_API float __dot< float > (const float *mpd, tint mnSize, tint mnIncr, const float *pd, tint nIncr)
template<>
CVM_API double __dot< double > (const double *mpd, tint mnSize, tint mnIncr, const double *pd, tint nIncr)
template<>
CVM_API void __gemv< float, basic_rmatrix< float >, basic_rvector< float > > (bool bLeft, const basic_rmatrix< float > &m, float dAlpha, const basic_rvector< float > &v, float dBeta, basic_rvector< float > &vRes)
template<>
CVM_API void __gemv< double, basic_rmatrix< double >, basic_rvector< double > > (bool bLeft, const basic_rmatrix< double > &m, double dAlpha, const basic_rvector< double > &v, double dBeta, basic_rvector< double > &vRes)
template<>
CVM_API void __gbmv< float, basic_srbmatrix< float >, basic_rvector< float > > (bool bLeft, const basic_srbmatrix< float > &m, float dAlpha, const basic_rvector< float > &v, float dBeta, basic_rvector< float > &vRes)
template<>
CVM_API void __gbmv< double, basic_srbmatrix< double >, basic_rvector< double > > (bool bLeft, const basic_srbmatrix< double > &m, double dAlpha, const basic_rvector< double > &v, double dBeta, basic_rvector< double > &vRes)
template<>
CVM_API void __symv< float, basic_srsmatrix< float >, basic_rvector< float > > (const basic_srsmatrix< float > &m, float dAlpha, const basic_rvector< float > &v, float dBeta, basic_rvector< float > &vRes)
template<>
CVM_API void __symv< double, basic_srsmatrix< double >, basic_rvector< double > > (const basic_srsmatrix< double > &m, double dAlpha, const basic_rvector< double > &v, double dBeta, basic_rvector< double > &vRes)
template<>
CVM_API void __svd< float, basic_rmatrix< float >, basic_srmatrix< float > > (float *pd, tint nSize, tint nIncr, const basic_rmatrix< float > &mArg, basic_srmatrix< float > *mU, basic_srmatrix< float > *mVH) throw (cvmexception)
template<>
CVM_API void __svd< double, basic_rmatrix< double >, basic_srmatrix< double > > (double *pd, tint nSize, tint nIncr, const basic_rmatrix< double > &mArg, basic_srmatrix< double > *mU, basic_srmatrix< double > *mVH) throw (cvmexception)
template<>
CVM_API void __svd< float, basic_srbmatrix< float >, basic_srmatrix< float > > (float *pd, tint nSize, tint nIncr, const basic_srbmatrix< float > &mArg, basic_srmatrix< float > *mU, basic_srmatrix< float > *mVH) throw (cvmexception)
template<>
CVM_API void __svd< double, basic_srbmatrix< double >, basic_srmatrix< double > > (double *pd, tint nSize, tint nIncr, const basic_srbmatrix< double > &mArg, basic_srmatrix< double > *mU, basic_srmatrix< double > *mVH) throw (cvmexception)
template<>
CVM_API void __eig< basic_rvector< float >, basic_srsmatrix< float >, basic_srmatrix< float > > (basic_rvector< float > &vRes, const basic_srsmatrix< float > &mArg, basic_srmatrix< float > *mEigVect, bool) throw (cvmexception)
template<>
CVM_API void __eig< basic_rvector< double >, basic_srsmatrix< double >, basic_srmatrix< double > > (basic_rvector< double > &vRes, const basic_srsmatrix< double > &mArg, basic_srmatrix< double > *mEigVect, bool) throw (cvmexception)
template<>
CVM_API void __pinv< float, basic_rmatrix< float >, basic_rmatrix< float > > (basic_rmatrix< float > &mX, const basic_rmatrix< float > &mArg, float threshold) throw (cvmexception)
template<>
CVM_API void __pinv< double, basic_rmatrix< double >, basic_rmatrix< double > > (basic_rmatrix< double > &mX, const basic_rmatrix< double > &mArg, double threshold) throw (cvmexception)
template<>
CVM_API void __pinv< float, basic_srbmatrix< float >, basic_rmatrix< float > > (basic_rmatrix< float > &mX, const basic_srbmatrix< float > &mArg, float threshold) throw (cvmexception)
template<>
CVM_API void __pinv< double, basic_srbmatrix< double >, basic_rmatrix< double > > (basic_rmatrix< double > &mX, const basic_srbmatrix< double > &mArg, double threshold) throw (cvmexception)

Function Documentation

template<>
CVM_NAMESPACE_BEG CVM_API float __dot< float > ( const float *  mpd,
tint  mnSize,
tint  mnIncr,
const float *  pd,
tint  nIncr 
)

Definition at line 15 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API double __dot< double > ( const double *  mpd,
tint  mnSize,
tint  mnIncr,
const double *  pd,
tint  nIncr 
)

Definition at line 21 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gemv< float, basic_rmatrix< float >, basic_rvector< float > > ( bool  bLeft,
const basic_rmatrix< float > &  m,
float  dAlpha,
const basic_rvector< float > &  v,
float  dBeta,
basic_rvector< float > &  vRes 
)

Definition at line 29 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gemv< double, basic_rmatrix< double >, basic_rvector< double > > ( bool  bLeft,
const basic_rmatrix< double > &  m,
double  dAlpha,
const basic_rvector< double > &  v,
double  dBeta,
basic_rvector< double > &  vRes 
)

Definition at line 46 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gbmv< float, basic_srbmatrix< float >, basic_rvector< float > > ( bool  bLeft,
const basic_srbmatrix< float > &  m,
float  dAlpha,
const basic_rvector< float > &  v,
float  dBeta,
basic_rvector< float > &  vRes 
)

Definition at line 63 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gbmv< double, basic_srbmatrix< double >, basic_rvector< double > > ( bool  bLeft,
const basic_srbmatrix< double > &  m,
double  dAlpha,
const basic_rvector< double > &  v,
double  dBeta,
basic_rvector< double > &  vRes 
)

Definition at line 80 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __symv< float, basic_srsmatrix< float >, basic_rvector< float > > ( const basic_srsmatrix< float > &  m,
float  dAlpha,
const basic_rvector< float > &  v,
float  dBeta,
basic_rvector< float > &  vRes 
)

Definition at line 97 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __symv< double, basic_srsmatrix< double >, basic_rvector< double > > ( const basic_srsmatrix< double > &  m,
double  dAlpha,
const basic_rvector< double > &  v,
double  dBeta,
basic_rvector< double > &  vRes 
)

Definition at line 113 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __svd< float, basic_rmatrix< float >, basic_srmatrix< float > > ( float *  pd,
tint  nSize,
tint  nIncr,
const basic_rmatrix< float > &  mArg,
basic_srmatrix< float > *  mU,
basic_srmatrix< float > *  mVH 
) throw (cvmexception)

Definition at line 129 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __svd< double, basic_rmatrix< double >, basic_srmatrix< double > > ( double *  pd,
tint  nSize,
tint  nIncr,
const basic_rmatrix< double > &  mArg,
basic_srmatrix< double > *  mU,
basic_srmatrix< double > *  mVH 
) throw (cvmexception)

Definition at line 252 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __svd< float, basic_srbmatrix< float >, basic_srmatrix< float > > ( float *  pd,
tint  nSize,
tint  nIncr,
const basic_srbmatrix< float > &  mArg,
basic_srmatrix< float > *  mU,
basic_srmatrix< float > *  mVH 
) throw (cvmexception)

Definition at line 619 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __svd< double, basic_srbmatrix< double >, basic_srmatrix< double > > ( double *  pd,
tint  nSize,
tint  nIncr,
const basic_srbmatrix< double > &  mArg,
basic_srmatrix< double > *  mU,
basic_srmatrix< double > *  mVH 
) throw (cvmexception)

Definition at line 682 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __eig< basic_rvector< float >, basic_srsmatrix< float >, basic_srmatrix< float > > ( basic_rvector< float > &  vRes,
const basic_srsmatrix< float > &  mArg,
basic_srmatrix< float > *  mEigVect,
bool   
) throw (cvmexception)

Definition at line 876 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __eig< basic_rvector< double >, basic_srsmatrix< double >, basic_srmatrix< double > > ( basic_rvector< double > &  vRes,
const basic_srsmatrix< double > &  mArg,
basic_srmatrix< double > *  mEigVect,
bool   
) throw (cvmexception)

Definition at line 940 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __pinv< float, basic_rmatrix< float >, basic_rmatrix< float > > ( basic_rmatrix< float > &  mX,
const basic_rmatrix< float > &  mArg,
float  threshold 
) throw (cvmexception)

Definition at line 1139 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __pinv< double, basic_rmatrix< double >, basic_rmatrix< double > > ( basic_rmatrix< double > &  mX,
const basic_rmatrix< double > &  mArg,
double  threshold 
) throw (cvmexception)

Definition at line 1251 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __pinv< float, basic_srbmatrix< float >, basic_rmatrix< float > > ( basic_rmatrix< float > &  mX,
const basic_srbmatrix< float > &  mArg,
float  threshold 
) throw (cvmexception)

Definition at line 1590 of file rvector.cpp.

Here is the call graph for this function:

template<>
CVM_API void __pinv< double, basic_srbmatrix< double >, basic_rmatrix< double > > ( basic_rmatrix< double > &  mX,
const basic_srbmatrix< double > &  mArg,
double  threshold 
) throw (cvmexception)

Definition at line 1648 of file rvector.cpp.

Here is the call graph for this function: