@@ -87,20 +87,6 @@ gap> NrRows(x);
8787gap> x := RandomMatrix(GF(8 ), 10 );;
8888gap> NrRows(x);
898910
90- gap> x := RandomMatrix(GF(3 ), 3 , [ 3 ] );;
91- gap> Rank(x);
92- 3
93- gap> x := RandomMatrix(GF(3 ), 10 , [ 3 .. 8 ] );;
94- gap> Rank(x) in [ 3 .. 8 ] ;
95- true
96- gap> x := RandomMatrix(GF(3 ), 5 , [ 0 ] );
97- [ [ 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ) ] ,
98- [ 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ) ] ,
99- [ 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ) ] ,
100- [ 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ) ] ,
101- [ 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ), 0 * Z(3 ) ] ]
102- gap> x := RandomMatrix(GF(3 ), 5 , [ 1 , - 2 , 1314 ] );
103- Error, the list of ranks has to consist of numbers > 0 and < n
10490
10591# Test \ = , \< for row basis
10692gap> mat := Matrix(GF(3 ^ 2 ),
@@ -217,13 +203,6 @@ gap> Display(mat);
217203 9 2 7 8 10
218204 . 3 8 9 1
219205
220- # Test RandomMatrix for finite field, dim, rank
221- gap> x := RandomMatrix(GF(3 ), 3 , 1 );;
222- gap> Rank(x);
223- 1
224- gap> Rank(TransposedMat(x));
225- 1
226-
227206# Test MatrixNC
228207gap> x := Matrix(GF(3 ), [[ Z(3 ) ^ 0 , 0 * Z(3 ), Z(3 )] , [ Z(3 ), 0 * Z(3 ), Z(3 )] ,
229208> [ Z(3 ) ^ 0 , Z(3 ) ^ 0 , Z(3 )]] );;
@@ -234,17 +213,6 @@ gap> z := Matrix(Unpack(x), y);
234213gap> z = x;
235214true
236215
237- # Test RandomMatrix
238- gap> RandomMatrix(GF(11 ), 0 , [] );
239- Error, no method found! For debugging hints type ?Recovery from NoMethodFound
240- Error, no 1st choice method found for `RandomMatrixOp' on 3 arguments
241- gap> RandomMatrix(GF(11), 0, [0]);
242- Error, no method found! For debugging hints type ?Recovery from NoMethodFound
243- Error, no 1st choice method found for `RandomMatrixOp' on 3 arguments
244- gap> RandomMatrix(GF(11 ), 0 , [ 1 ] );
245- Error, no method found! For debugging hints type ?Recovery from NoMethodFound
246- Error, no 1st choice method found for `RandomMatrixOp' on 3 arguments
247-
248216# Test AsList for IsPlistMatrixRep
249217gap> S := Semigroup(Transformation([ 2 , 3 , 1 ] ));;
250218gap> IsGroupAsSemigroup(S);
0 commit comments