template <typename Index, int AStorageOrder, bool ConjugateA, int UpLo> \
struct general_matrix_matrix_rankupdate<Index,EIGTYPE,AStorageOrder,ConjugateA,ColMajor,UpLo> { \
enum { \
conjA = (((AStorageOrder==
ColMajor) && ConjugateA) || ((AStorageOrder==
RowMajor) && !ConjugateA)) ? 1 : 0 \
}; \
const EIGTYPE* ,
Index , EIGTYPE* res,
Index resStride, EIGTYPE alpha, level3_blocking<EIGTYPE, EIGTYPE>& ) \
{ \
typedef Matrix<EIGTYPE, Dynamic, Dynamic, AStorageOrder> MatrixType; \
BlasIndex lda=convert_index<BlasIndex>(lhsStride), ldc=convert_index<BlasIndex>(resStride), n=convert_index<BlasIndex>(
size), k=convert_index<BlasIndex>(depth); \
char uplo=((IsLower) ?
'L' :
'U'), trans=((AStorageOrder==
RowMajor) ?
'C':
'N'); \
RTYPE alpha_, beta_; \
const EIGTYPE* a_ptr; \
\
alpha_ = alpha.real(); \
beta_ = 1.0; \
\
MatrixType a; \
if (conjA) { \
Map<const MatrixType, 0, OuterStride<> > mapA(lhs,n,k,OuterStride<>(lhsStride)); \
a = mapA.conjugate(); \
lda = a.outerStride(); \
a_ptr = a.data(); \
BLASFUNC(&uplo, &trans, &n, &k, &alpha_, (BLASTYPE*)a_ptr, &lda, &beta_, (BLASTYPE*)res, &ldc); \
} \
};
#define EIGEN_STRONG_INLINE
static constexpr size_t size(Tuple< Args... > &)
Provides access to the number of elements in a tuple as a compile-time constant expression.
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
void run(Expr &expr, Dev &dev)