35 #ifndef _BLAZE_MATH_LAPACK_CLAPACK_GETRS_H_ 36 #define _BLAZE_MATH_LAPACK_CLAPACK_GETRS_H_ 56 #if !defined(INTEL_MKL_VERSION) 59 void sgetrs_(
char*
trans,
int* n,
int* nrhs,
float* A,
int* lda,
int* ipiv,
61 void dgetrs_(
char*
trans,
int* n,
int* nrhs,
double* A,
int* lda,
int* ipiv,
63 void cgetrs_(
char*
trans,
int* n,
int* nrhs,
float* A,
int* lda,
int* ipiv,
65 void zgetrs_(
char*
trans,
int* n,
int* nrhs,
double* A,
int* lda,
int* ipiv,
87 void getrs(
char trans,
int n,
int nrhs,
const float* A,
int lda,
const int* ipiv,
88 float* B,
int ldb,
int* info );
90 void getrs(
char trans,
int n,
int nrhs,
const double* A,
int lda,
const int* ipiv,
91 double* B,
int ldb,
int* info );
93 void getrs(
char trans,
int n,
int nrhs,
const complex<float>* A,
int lda,
94 const int* ipiv, complex<float>* B,
int ldb,
int* info );
96 void getrs(
char trans,
int n,
int nrhs,
const complex<double>* A,
int lda,
97 const int* ipiv, complex<double>* B,
int ldb,
int* info );
141 inline void getrs(
char trans,
int n,
int nrhs,
const float* A,
int lda,
142 const int* ipiv,
float* B,
int ldb,
int* info )
144 #if defined(INTEL_MKL_VERSION) 148 sgetrs_( &
trans, &n, &nrhs, const_cast<float*>( A ), &lda,
193 inline void getrs(
char trans,
int n,
int nrhs,
const double* A,
int lda,
194 const int* ipiv,
double* B,
int ldb,
int* info )
196 #if defined(INTEL_MKL_VERSION) 200 dgetrs_( &
trans, &n, &nrhs, const_cast<double*>( A ), &lda,
245 inline void getrs(
char trans,
int n,
int nrhs,
const complex<float>* A,
int lda,
246 const int* ipiv, complex<float>* B,
int ldb,
int* info )
250 #if defined(INTEL_MKL_VERSION) 252 using ET = MKL_Complex8;
257 cgetrs_( &
trans, &n, &nrhs, const_cast<ET*>( reinterpret_cast<const ET*>( A ) ),
258 &lda, const_cast<int*>( ipiv ), reinterpret_cast<ET*>( B ), &ldb, info,
303 inline void getrs(
char trans,
int n,
int nrhs,
const complex<double>* A,
int lda,
304 const int* ipiv, complex<double>* B,
int ldb,
int* info )
308 #if defined(INTEL_MKL_VERSION) 310 using ET = MKL_Complex16;
315 zgetrs_( &
trans, &n, &nrhs, const_cast<ET*>( reinterpret_cast<const ET*>( A ) ),
316 &lda, const_cast<int*>( ipiv ), reinterpret_cast<ET*>( B ), &ldb, info,
Header file for basic type definitions.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
void getrs(char trans, int n, int nrhs, const float *A, int lda, const int *ipiv, float *B, int ldb, int *info)
LAPACK kernel for the substitution step of solving a general single precision linear system of equati...
Definition: getrs.h:141
decltype(auto) trans(const DenseMatrix< MT, SO > &dm)
Calculation of the transpose of the given dense matrix.
Definition: DMatTransExpr.h:765
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
Size type of the Blaze library.