35 #ifndef _BLAZE_MATH_LAPACK_CLAPACK_GETRI_H_ 36 #define _BLAZE_MATH_LAPACK_CLAPACK_GETRI_H_ 55 #if !defined(INTEL_MKL_VERSION) 58 void sgetri_(
int* n,
float* A,
int* lda,
int* ipiv,
float* work,
int* lwork,
int* info );
59 void dgetri_(
int* n,
double* A,
int* lda,
int* ipiv,
double* work,
int* lwork,
int* info );
60 void cgetri_(
int* n,
float* A,
int* lda,
int* ipiv,
float* work,
int* lwork,
int* info );
61 void zgetri_(
int* n,
double* A,
int* lda,
int* ipiv,
double* work,
int* lwork,
int* info );
82 inline void getri(
int n,
float* A,
int lda,
const int* ipiv,
float* work,
int lwork,
int* info );
84 inline void getri(
int n,
double* A,
int lda,
const int* ipiv,
double* work,
int lwork,
int* info );
86 inline void getri(
int n, complex<float>* A,
int lda,
const int* ipiv,
87 complex<float>* work,
int lwork,
int* info );
89 inline void getri(
int n, complex<double>* A,
int lda,
const int* ipiv,
90 complex<double>* work,
int lwork,
int* info );
131 inline void getri(
int n,
float* A,
int lda,
const int* ipiv,
float* work,
int lwork,
int* info )
133 #if defined(INTEL_MKL_VERSION) 137 sgetri_( &n, A, &lda, const_cast<int*>( ipiv ), work, &lwork, info );
178 inline void getri(
int n,
double* A,
int lda,
const int* ipiv,
double* work,
int lwork,
int* info )
180 #if defined(INTEL_MKL_VERSION) 184 dgetri_( &n, A, &lda, const_cast<int*>( ipiv ), work, &lwork, info );
225 inline void getri(
int n, complex<float>* A,
int lda,
const int* ipiv,
226 complex<float>* work,
int lwork,
int* info )
230 #if defined(INTEL_MKL_VERSION) 232 using ET = MKL_Complex8;
237 cgetri_( &n, reinterpret_cast<ET*>( A ), &lda, const_cast<int*>( ipiv ),
238 reinterpret_cast<ET*>( work ), &lwork, info );
279 inline void getri(
int n, complex<double>* A,
int lda,
const int* ipiv,
280 complex<double>* work,
int lwork,
int* info )
284 #if defined(INTEL_MKL_VERSION) 286 using ET = MKL_Complex16;
291 zgetri_( &n, reinterpret_cast<ET*>( A ), &lda, const_cast<int*>( ipiv ),
292 reinterpret_cast<ET*>( work ), &lwork, info );
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
void getri(int n, float *A, int lda, const int *ipiv, float *work, int lwork, int *info)
LAPACK kernel for the inversion of the given dense general single precision column-major square matri...
Definition: getri.h:131
Header file for the complex data type.
#define BLAZE_STATIC_ASSERT(expr)
Compile time assertion macro.In case of an invalid compile time expression, a compilation error is cr...
Definition: StaticAssert.h:112