template<int StorageOrder> \
struct partial_lu_impl<EIGTYPE, StorageOrder, lapack_int> \
{ \
\
{ \
EIGEN_UNUSED_VARIABLE(maxBlockSize);\
lapack_int matrix_order, first_zero_pivot; \
lapack_int m, n, lda, *ipiv, info; \
\
lda = convert_index<lapack_int>(luStride); \
a = lu_data; \
ipiv = row_transpositions; \
m = convert_index<lapack_int>(rows); \
n = convert_index<lapack_int>(cols); \
nb_transpositions = 0; \
\
info = LAPACKE_##LAPACKE_PREFIX##getrf( matrix_order, m, n, (LAPACKE_TYPE*)
a, lda, ipiv ); \
\
for(
int i=0;i<m;i++) { ipiv[i]--;
if (ipiv[i]!=i) nb_transpositions++; }
\
\
\
first_zero_pivot = info; \
return first_zero_pivot; \
} \
};
#define eigen_assert(x)
Definition: Macros.h:1037
@ RowMajor
Definition: Constants.h:321
#define LAPACK_COL_MAJOR
Definition: lapacke.h:123
#define lapack_int
Definition: lapacke.h:49
#define LAPACK_ROW_MAJOR
Definition: lapacke.h:122
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1181