Macaulay2 Engine
Loading...
Searching...
No Matches

◆ rowReducedEchelonForm() [5/6]

size_t MatrixOps::rowReducedEchelonForm ( const DMatZZpFlint & A,
DMatZZpFlint & result_rref )
inline

Definition at line 900 of file mat-linalg.hpp.

902{
903 DMatZZpFlint A1(A);
904 long rank = nmod_mat_rref(A1.nmod_mat());
905 result_rref.swap(A1);
906 return rank;
907}
void swap(DMat< ACoeffRing > &M)
DMat< M2::ARingZZpFlint > DMatZZpFlint
size_t rank(const Mat &A)
the rank of a matrix

References DMat< M2::ARingZZpFlint >::nmod_mat(), rank(), and DMat< M2::ARingZZpFlint >::swap().