i1 : R = ZZ/32003[a..f]; |
i2 : M = genericMatrix(R,a,3,2) |
i3 : N = matrix{{d^2,a*d},{b*c,b*d},{a,c}} |
i4 : M|N |
i5 : P = matrix{{d^2,a*d,e*f},{b*c,b*d,b*e},{a,c,d}} |
i6 : transpose(M)||P |
i7 : matrix{{id_(R^3),M,P},{random(R^1,R^3),random(R^1,R^3),random(R^1,R^2)}} |
Also, the number input entries in each row must be equal. It might seem like we could form the same matrix with the input matrix{{id_(R^3),M,P},{random(R^1,R^8)}} since random(R^1,R^8) will construct a 1 by 8 matrix which has the same number of columns as matrix matrix{{id_(R^3),M,P}} but as input into the matrix function that row entry must have 3 entries.