matrix |
Syntax |
matrix(L: LIST): MAT matrix(R: RING, L: LIST): MAT matrix(R: RING, M: MAT): MAT |
Description |
Example |
/**/ Use R ::= QQ[x,y]; /**/ L := [[1,2],[3,4]]; /**/ mat(L); matrix(QQ, [[1, 2], [3, 4]]) /**/ mat(R,L); matrix( /*RingDistrMPolyClean(QQ, 2)*/ [[1, 2], [3, 4]]) /**/ mat(ZZ,L); matrix(ZZ, [[1, 2], [3, 4]]) /**/ RingOf(mat(R, [[1,2],[3,4]])); RingWithID(3, "QQ[x,y]") /**/ M := IdentityMat(ZZ,2); matrix(QQ, M); matrix(QQ, [[1, 0], [0, 1]]) |
See Also |