52 #ifndef __H__UG__CPU_ALGEBRA__LAPACK_H__
53 #define __H__UG__CPU_ALGEBRA__LAPACK_H__
120 return (isComplex ?
'C' :
'T');
164 sgetrf_(&rows, &cols, pColMajorMatrix, &lda, pPivot, &info);
171 dgetrf_(&rows, &cols, pColMajorMatrix, &lda, pPivot, &info);
178 cgetrf_(&rows, &cols, pColMajorMatrix, &lda, pPivot, &info);
186 zgetrf_(&rows, &cols, pColMajorMatrix, &lda, pPivot, &info);
236 sgetrs_(&_trans, &n, &nrOfRHS, pColMajorMatrix, &lda, pPivot, pRHS, &ldb, &info);
245 dgetrs_(&_trans, &n, &nrOfRHS, pColMajorMatrix, &lda, pPivot, pRHS, &ldb, &info);
310 sgetri_(&n, pColMajorMatrix, &lda, pPivot, pWork, &worksize, &info);
318 dgetri_(&n, pColMajorMatrix, &lda, pPivot, pWork, &worksize, &info);
#define UG_THROW(msg)
Definition: error.h:57
void sgetri_(lapack_int *n, lapack_float *pColMajorMatrix, lapack_int *lda, const lapack_int *ipiv, lapack_float *pWork, lapack_int *worksize, lapack_int *info)
void cgetrs_(char *trans, lapack_int *n, lapack_int *nrhs, const std::complex< lapack_float > *pColMajorMatrix, lapack_int *lda, const lapack_int *ipiv, std::complex< lapack_float > *b, lapack_int *ldb, lapack_int *info)
float lapack_float
Definition: lapack.h:72
eTransposeMode
Definition: lapack.h:79
@ ModeConjTranspose
Definition: lapack.h:82
@ ModeNoTrans
Definition: lapack.h:80
@ ModeTranspose
Definition: lapack.h:81
void zgetrs_(char *trans, lapack_int *n, lapack_int *nrhs, const std::complex< lapack_double > *pColMajorMatrix, lapack_int *lda, const lapack_int *ipiv, std::complex< lapack_double > *b, lapack_int *ldb, lapack_int *info)
char TransposeModeToChar(eTransposeMode t, bool isComplex)
Definition: lapack.h:111
int lapack_ftnlen
Definition: lapack.h:74
void zgetrf_(lapack_int *m, lapack_int *n, std::complex< lapack_double > *pColMajorMatrix, lapack_int *lda, lapack_int *ipiv, lapack_int *info)
lapack_int getri(lapack_int n, lapack_float *pColMajorMatrix, lapack_int lda, const int *pPivot, lapack_float *pWork, lapack_int worksize)
Definition: lapack.h:306
lapack_int getrs(eTransposeMode transposeMode, lapack_int n, lapack_int nrOfRHS, const float *pColMajorMatrix, lapack_int lda, const lapack_int *pPivot, lapack_float *pRHS, lapack_int ldb)
Definition: lapack.h:231
void dgetrs_(char *trans, lapack_int *n, lapack_int *nrhs, const lapack_double *pColMajorMatrix, lapack_int *lda, const lapack_int *ipiv, lapack_double *b, lapack_int *ldb, lapack_int *info)
lapack_int getrf(lapack_int rows, lapack_int cols, lapack_float *pColMajorMatrix, lapack_int lda, lapack_int *pPivot)
Definition: lapack.h:161
void dgetri_(lapack_int *n, lapack_double *pColMajorMatrix, lapack_int *lda, const lapack_int *ipiv, lapack_double *pWork, lapack_int *worksize, lapack_int *info)
int lapack_int
Definition: lapack.h:71
void sgetrs_(char *trans, lapack_int *n, lapack_int *nrhs, const lapack_float *pColMajorMatrix, lapack_int *lda, const lapack_int *ipiv, lapack_float *b, lapack_int *ldb, lapack_int *info)
void dgetrf_(lapack_int *m, lapack_int *n, lapack_double *pColMajorMatrix, lapack_int *lda, lapack_int *ipiv, lapack_int *info)
double lapack_double
Definition: lapack.h:73
void cgetrf_(lapack_int *m, lapack_int *n, std::complex< lapack_float > *pColMajorMatrix, lapack_int *lda, lapack_int *ipiv, lapack_int *info)
void sgetrf_(lapack_int *m, lapack_int *n, lapack_float *pColMajorMatrix, lapack_int *lda, lapack_int *ipiv, lapack_int *info)