template<int StorageOrder> \
struct partial_lu_impl<EIGTYPE, StorageOrder, lapack_int> \
{ \
\
EIGTYPE* a; \
\
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(x<=y?ADS(x):ADS(y))
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
#define EIGEN_UNUSED_VARIABLE(var)