Definition at line 237 of file dmat.cpp.
239{
241
242 size_t* prof;
243 size_t rk;
244 if (row_profile)
245 rk = FFPACK::RowRankProfile(mat.ring().field(),
246 mat.numRows(),
247 mat.numColumns(),
248 N.rowMajorArray(),
249 mat.numColumns(),
250 prof);
251 else
252 rk = FFPACK::ColumnRankProfile(mat.ring().field(),
253 mat.numRows(),
254 mat.numColumns(),
255 N.rowMajorArray(),
256 mat.numColumns(),
257 prof);
258
260 for (size_t i = 0; i < rk; i++) profile->array[i] = static_cast<int>(prof[i]);
261
262 delete[] prof;
263 return profile;
264}
M2_arrayint M2_makearrayint(int n)
References DMatZZpFFPACK, and M2_makearrayint().
Referenced by DMatLinAlg< M2::ARingZZpFFPACK >::columnRankProfile().