RandomSparseNonSing01Mat(R: RING, N: INT): MAT
/**/ RandomSparseNonSing01Mat(ZZ, 3); matrix(ZZ, [[1, 1, 0], [0, 1, 0], [0, 0, 1]])