Normally matrices are displayed in compact notation that originated with Macaulay.
i1 : R = ZZ/101[x,y]; |
i2 : f = random(R^1,R^{2:-2}) |
Setting the global flag compactMatrixForm to false will modify that behavior so that matrices are displayed more clearly and less compactly.
i3 : compactMatrixForm = false |
i4 : f |
We may use toString to produce a string, useful as input into other programs, or into Macaulay 2 at another time.
i5 : toString f |
The function toExternalString tries harder: it gives complete information about the source, target, and degree of the map.
i6 : toExternalString f |