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

Go to the source code of this file.

Functions

template<>
CVM_NAMESPACE_BEG CVM_API void __gemm< float, basic_rmatrix< float > > (const basic_rmatrix< float > &ml, bool bTrans1, const basic_rmatrix< float > &mr, bool bTrans2, float dAlpha, basic_rmatrix< float > &mRes, float dBeta)
template<>
CVM_API void __gemm< double, basic_rmatrix< double > > (const basic_rmatrix< double > &ml, bool bTrans1, const basic_rmatrix< double > &mr, bool bTrans2, double dAlpha, basic_rmatrix< double > &mRes, double dBeta)
template<>
CVM_API void __symm< float, basic_srsmatrix< float >, basic_rmatrix< float > > (bool bLeft, const basic_srsmatrix< float > &ml, const basic_rmatrix< float > &mr, float dAlpha, basic_rmatrix< float > &mRes, float dBeta)
template<>
CVM_API void __symm< double, basic_srsmatrix< double >, basic_rmatrix< double > > (bool bLeft, const basic_srsmatrix< double > &ml, const basic_rmatrix< double > &mr, double dAlpha, basic_rmatrix< double > &mRes, double dBeta)
template<>
CVM_API void __syrk< float, basic_srsmatrix< float > > (bool bTransp, float alpha, tint k, const float *pA, tint ldA, float beta, basic_srsmatrix< float > &m)
template<>
CVM_API void __syrk< double, basic_srsmatrix< double > > (bool bTransp, double alpha, tint k, const double *pA, tint ldA, double beta, basic_srsmatrix< double > &m)
template<>
CVM_API void __syr2k< float, basic_srsmatrix< float > > (bool bTransp, float alpha, tint k, const float *pA, tint ldA, const float *pB, tint ldB, float beta, basic_srsmatrix< float > &m)
template<>
CVM_API void __syr2k< double, basic_srsmatrix< double > > (bool bTransp, double alpha, tint k, const double *pA, tint ldA, const double *pB, tint ldB, double beta, basic_srsmatrix< double > &m)
template<>
CVM_API void __qre< basic_rmatrix< float >, basic_srmatrix< float > > (const basic_rmatrix< float > &mArg, basic_rmatrix< float > &mQ, basic_srmatrix< float > &mR) throw (cvmexception)
template<>
CVM_API void __qre< basic_rmatrix< double >, basic_srmatrix< double > > (const basic_rmatrix< double > &mArg, basic_rmatrix< double > &mQ, basic_srmatrix< double > &mR) throw (cvmexception)
template<>
CVM_API void __qrf< basic_rmatrix< float >, basic_srmatrix< float > > (const basic_rmatrix< float > &mArg, basic_srmatrix< float > &mQ, basic_rmatrix< float > &mR) throw (cvmexception)
template<>
CVM_API void __qrf< basic_rmatrix< double >, basic_srmatrix< double > > (const basic_rmatrix< double > &mArg, basic_srmatrix< double > &mQ, basic_rmatrix< double > &mR) throw (cvmexception)
template<>
CVM_API void __rqe< basic_rmatrix< float >, basic_srmatrix< float > > (const basic_rmatrix< float > &mArg, basic_srmatrix< float > &mR, basic_rmatrix< float > &mQ) throw (cvmexception)
template<>
CVM_API void __rqe< basic_rmatrix< double >, basic_srmatrix< double > > (const basic_rmatrix< double > &mArg, basic_srmatrix< double > &mR, basic_rmatrix< double > &mQ) throw (cvmexception)
template<>
CVM_API void __rqf< basic_rmatrix< float >, basic_srmatrix< float > > (const basic_rmatrix< float > &mArg, basic_rmatrix< float > &mR, basic_srmatrix< float > &mQ) throw (cvmexception)
template<>
CVM_API void __rqf< basic_rmatrix< double >, basic_srmatrix< double > > (const basic_rmatrix< double > &mArg, basic_rmatrix< double > &mR, basic_srmatrix< double > &mQ) throw (cvmexception)
template<>
CVM_API void __lqe< basic_rmatrix< float >, basic_srmatrix< float > > (const basic_rmatrix< float > &mArg, basic_srmatrix< float > &mL, basic_rmatrix< float > &mQ) throw (cvmexception)
template<>
CVM_API void __lqe< basic_rmatrix< double >, basic_srmatrix< double > > (const basic_rmatrix< double > &mArg, basic_srmatrix< double > &mL, basic_rmatrix< double > &mQ) throw (cvmexception)
template<>
CVM_API void __lqf< basic_rmatrix< float >, basic_srmatrix< float > > (const basic_rmatrix< float > &mArg, basic_rmatrix< float > &mL, basic_srmatrix< float > &mQ) throw (cvmexception)
template<>
CVM_API void __lqf< basic_rmatrix< double >, basic_srmatrix< double > > (const basic_rmatrix< double > &mArg, basic_rmatrix< double > &mL, basic_srmatrix< double > &mQ) throw (cvmexception)
template<>
CVM_API void __qle< basic_rmatrix< float >, basic_srmatrix< float > > (const basic_rmatrix< float > &mArg, basic_rmatrix< float > &mQ, basic_srmatrix< float > &mL) throw (cvmexception)
template<>
CVM_API void __qle< basic_rmatrix< double >, basic_srmatrix< double > > (const basic_rmatrix< double > &mArg, basic_rmatrix< double > &mQ, basic_srmatrix< double > &mL) throw (cvmexception)
template<>
CVM_API void __qlf< basic_rmatrix< float >, basic_srmatrix< float > > (const basic_rmatrix< float > &mArg, basic_srmatrix< float > &mQ, basic_rmatrix< float > &mL) throw (cvmexception)
template<>
CVM_API void __qlf< basic_rmatrix< double >, basic_srmatrix< double > > (const basic_rmatrix< double > &mArg, basic_srmatrix< double > &mQ, basic_rmatrix< double > &mL) throw (cvmexception)
template<>
CVM_API void __gels< basic_rmatrix< float >, basic_rvector< float > > (bool transpose, basic_rmatrix< float > &mA, const basic_rmatrix< float > &mB, basic_rmatrix< float > &mX, basic_rvector< float > &vErr) throw (cvmexception)
template<>
CVM_API void __gels< basic_rmatrix< double >, basic_rvector< double > > (bool transpose, basic_rmatrix< double > &mA, const basic_rmatrix< double > &mB, basic_rmatrix< double > &mX, basic_rvector< double > &vErr) throw (cvmexception)
template<>
CVM_API void __gelsy< float, basic_rmatrix< float > > (basic_rmatrix< float > &mA, const basic_rmatrix< float > &mB, basic_rmatrix< float > &mX, float rcond, tint &rank) throw (cvmexception)
template<>
CVM_API void __gelsy< double, basic_rmatrix< double > > (basic_rmatrix< double > &mA, const basic_rmatrix< double > &mB, basic_rmatrix< double > &mX, double rcond, tint &rank) throw (cvmexception)
template<>
CVM_API void __gelss< float, basic_rvector< float >, basic_rmatrix< float > > (basic_rmatrix< float > &mA, const basic_rmatrix< float > &mB, basic_rmatrix< float > &mX, float rcond, basic_rvector< float > &vSV, tint &rank) throw (cvmexception)
template<>
CVM_API void __gelss< double, basic_rvector< double >, basic_rmatrix< double > > (basic_rmatrix< double > &mA, const basic_rmatrix< double > &mB, basic_rmatrix< double > &mX, double rcond, basic_rvector< double > &vSV, tint &rank) throw (cvmexception)
template<>
CVM_API void __gelsd< float, basic_rvector< float >, basic_rmatrix< float > > (basic_rmatrix< float > &mA, const basic_rmatrix< float > &mB, basic_rmatrix< float > &mX, float rcond, basic_rvector< float > &vSV, tint &rank) throw (cvmexception)
template<>
CVM_API void __gelsd< double, basic_rvector< double >, basic_rmatrix< double > > (basic_rmatrix< double > &mA, const basic_rmatrix< double > &mB, basic_rmatrix< double > &mX, double rcond, basic_rvector< double > &vSV, tint &rank) throw (cvmexception)

Function Documentation

template<>
CVM_NAMESPACE_BEG CVM_API void __gemm< float, basic_rmatrix< float > > ( const basic_rmatrix< float > &  ml,
bool  bTrans1,
const basic_rmatrix< float > &  mr,
bool  bTrans2,
float  dAlpha,
basic_rmatrix< float > &  mRes,
float  dBeta 
)

Definition at line 17 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gemm< double, basic_rmatrix< double > > ( const basic_rmatrix< double > &  ml,
bool  bTrans1,
const basic_rmatrix< double > &  mr,
bool  bTrans2,
double  dAlpha,
basic_rmatrix< double > &  mRes,
double  dBeta 
)

Definition at line 41 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __symm< float, basic_srsmatrix< float >, basic_rmatrix< float > > ( bool  bLeft,
const basic_srsmatrix< float > &  ml,
const basic_rmatrix< float > &  mr,
float  dAlpha,
basic_rmatrix< float > &  mRes,
float  dBeta 
)

Definition at line 65 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __symm< double, basic_srsmatrix< double >, basic_rmatrix< double > > ( bool  bLeft,
const basic_srsmatrix< double > &  ml,
const basic_rmatrix< double > &  mr,
double  dAlpha,
basic_rmatrix< double > &  mRes,
double  dBeta 
)

Definition at line 91 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __syrk< float, basic_srsmatrix< float > > ( bool  bTransp,
float  alpha,
tint  k,
const float *  pA,
tint  ldA,
float  beta,
basic_srsmatrix< float > &  m 
)

Definition at line 117 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __syrk< double, basic_srsmatrix< double > > ( bool  bTransp,
double  alpha,
tint  k,
const double *  pA,
tint  ldA,
double  beta,
basic_srsmatrix< double > &  m 
)

Definition at line 136 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __syr2k< float, basic_srsmatrix< float > > ( bool  bTransp,
float  alpha,
tint  k,
const float *  pA,
tint  ldA,
const float *  pB,
tint  ldB,
float  beta,
basic_srsmatrix< float > &  m 
)

Definition at line 155 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __syr2k< double, basic_srsmatrix< double > > ( bool  bTransp,
double  alpha,
tint  k,
const double *  pA,
tint  ldA,
const double *  pB,
tint  ldB,
double  beta,
basic_srsmatrix< double > &  m 
)

Definition at line 175 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __qre< basic_rmatrix< float >, basic_srmatrix< float > > ( const basic_rmatrix< float > &  mArg,
basic_rmatrix< float > &  mQ,
basic_srmatrix< float > &  mR 
) throw (cvmexception)

Definition at line 196 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __qre< basic_rmatrix< double >, basic_srmatrix< double > > ( const basic_rmatrix< double > &  mArg,
basic_rmatrix< double > &  mQ,
basic_srmatrix< double > &  mR 
) throw (cvmexception)

Definition at line 242 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __qrf< basic_rmatrix< float >, basic_srmatrix< float > > ( const basic_rmatrix< float > &  mArg,
basic_srmatrix< float > &  mQ,
basic_rmatrix< float > &  mR 
) throw (cvmexception)

Definition at line 288 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __qrf< basic_rmatrix< double >, basic_srmatrix< double > > ( const basic_rmatrix< double > &  mArg,
basic_srmatrix< double > &  mQ,
basic_rmatrix< double > &  mR 
) throw (cvmexception)

Definition at line 347 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __rqe< basic_rmatrix< float >, basic_srmatrix< float > > ( const basic_rmatrix< float > &  mArg,
basic_srmatrix< float > &  mR,
basic_rmatrix< float > &  mQ 
) throw (cvmexception)

Definition at line 408 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __rqe< basic_rmatrix< double >, basic_srmatrix< double > > ( const basic_rmatrix< double > &  mArg,
basic_srmatrix< double > &  mR,
basic_rmatrix< double > &  mQ 
) throw (cvmexception)

Definition at line 456 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __rqf< basic_rmatrix< float >, basic_srmatrix< float > > ( const basic_rmatrix< float > &  mArg,
basic_rmatrix< float > &  mR,
basic_srmatrix< float > &  mQ 
) throw (cvmexception)

Definition at line 504 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __rqf< basic_rmatrix< double >, basic_srmatrix< double > > ( const basic_rmatrix< double > &  mArg,
basic_rmatrix< double > &  mR,
basic_srmatrix< double > &  mQ 
) throw (cvmexception)

Definition at line 559 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __lqe< basic_rmatrix< float >, basic_srmatrix< float > > ( const basic_rmatrix< float > &  mArg,
basic_srmatrix< float > &  mL,
basic_rmatrix< float > &  mQ 
) throw (cvmexception)

Definition at line 614 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __lqe< basic_rmatrix< double >, basic_srmatrix< double > > ( const basic_rmatrix< double > &  mArg,
basic_srmatrix< double > &  mL,
basic_rmatrix< double > &  mQ 
) throw (cvmexception)

Definition at line 659 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __lqf< basic_rmatrix< float >, basic_srmatrix< float > > ( const basic_rmatrix< float > &  mArg,
basic_rmatrix< float > &  mL,
basic_srmatrix< float > &  mQ 
) throw (cvmexception)

Definition at line 705 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __lqf< basic_rmatrix< double >, basic_srmatrix< double > > ( const basic_rmatrix< double > &  mArg,
basic_rmatrix< double > &  mL,
basic_srmatrix< double > &  mQ 
) throw (cvmexception)

Definition at line 764 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __qle< basic_rmatrix< float >, basic_srmatrix< float > > ( const basic_rmatrix< float > &  mArg,
basic_rmatrix< float > &  mQ,
basic_srmatrix< float > &  mL 
) throw (cvmexception)

Definition at line 824 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __qle< basic_rmatrix< double >, basic_srmatrix< double > > ( const basic_rmatrix< double > &  mArg,
basic_rmatrix< double > &  mQ,
basic_srmatrix< double > &  mL 
) throw (cvmexception)

Definition at line 871 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __qlf< basic_rmatrix< float >, basic_srmatrix< float > > ( const basic_rmatrix< float > &  mArg,
basic_srmatrix< float > &  mQ,
basic_rmatrix< float > &  mL 
) throw (cvmexception)

Definition at line 918 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __qlf< basic_rmatrix< double >, basic_srmatrix< double > > ( const basic_rmatrix< double > &  mArg,
basic_srmatrix< double > &  mQ,
basic_rmatrix< double > &  mL 
) throw (cvmexception)

Definition at line 973 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gels< basic_rmatrix< float >, basic_rvector< float > > ( bool  transpose,
basic_rmatrix< float > &  mA,
const basic_rmatrix< float > &  mB,
basic_rmatrix< float > &  mX,
basic_rvector< float > &  vErr 
) throw (cvmexception)

Definition at line 1027 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gels< basic_rmatrix< double >, basic_rvector< double > > ( bool  transpose,
basic_rmatrix< double > &  mA,
const basic_rmatrix< double > &  mB,
basic_rmatrix< double > &  mX,
basic_rvector< double > &  vErr 
) throw (cvmexception)

Definition at line 1081 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gelsy< float, basic_rmatrix< float > > ( basic_rmatrix< float > &  mA,
const basic_rmatrix< float > &  mB,
basic_rmatrix< float > &  mX,
float  rcond,
tint rank 
) throw (cvmexception)

Definition at line 1135 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gelsy< double, basic_rmatrix< double > > ( basic_rmatrix< double > &  mA,
const basic_rmatrix< double > &  mB,
basic_rmatrix< double > &  mX,
double  rcond,
tint rank 
) throw (cvmexception)

Definition at line 1170 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gelss< float, basic_rvector< float >, basic_rmatrix< float > > ( basic_rmatrix< float > &  mA,
const basic_rmatrix< float > &  mB,
basic_rmatrix< float > &  mX,
float  rcond,
basic_rvector< float > &  vSV,
tint rank 
) throw (cvmexception)

Definition at line 1205 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gelss< double, basic_rvector< double >, basic_rmatrix< double > > ( basic_rmatrix< double > &  mA,
const basic_rmatrix< double > &  mB,
basic_rmatrix< double > &  mX,
double  rcond,
basic_rvector< double > &  vSV,
tint rank 
) throw (cvmexception)

Definition at line 1240 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gelsd< float, basic_rvector< float >, basic_rmatrix< float > > ( basic_rmatrix< float > &  mA,
const basic_rmatrix< float > &  mB,
basic_rmatrix< float > &  mX,
float  rcond,
basic_rvector< float > &  vSV,
tint rank 
) throw (cvmexception)

Definition at line 1275 of file rmatrix.cpp.

Here is the call graph for this function:

template<>
CVM_API void __gelsd< double, basic_rvector< double >, basic_rmatrix< double > > ( basic_rmatrix< double > &  mA,
const basic_rmatrix< double > &  mB,
basic_rmatrix< double > &  mX,
double  rcond,
basic_rvector< double > &  vSV,
tint rank 
) throw (cvmexception)

Definition at line 1312 of file rmatrix.cpp.

Here is the call graph for this function: