def idd_findrank(eps, m, n, matvect):
 (k, ra, ier) = _id.idd_findrank(eps, m, n, matvect)
 if ier:
  raise _RETCODE_ERROR
 return k

def idd_findrank ( eps , m , n , matvect ) : ( k , ra , ier ) = _id . idd_findrank ( eps , m , n , matvect ) if ier : raise _RETCODE_ERROR return k
estimate rank of a real matrix to a specified relative precision using random matrix-vector multiplication .