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

◆ rank()

template<class RingType>
size_t DMatLinAlg< RingType >::rank ( )

Output: returns the approximate rank of A (-1 if fails).

Definition at line 332 of file dmat-lu.hpp.

333{
334 mLUObject.LUinPlace();
335
336 return mLUObject.pivotColumns().size();
337}
DMatLUinPlace< RingType > mLUObject
Definition dmat-lu.hpp:64

References mLUObject.

Referenced by MatrixOps::rank(), and solveInvertible().