Macaulay2 » Documentation
Packages » Macaulay2Doc » matrices » format and display of matrices in Macaulay2 » compactMatrixForm
next | previous | forward | backward | up | index | toc

compactMatrixForm -- global flag for compact printing

Description

compactMatrixForm is a global flag that specifies whether to display matrices in compact form.

The default value is true. The compact form is the form used by Macaulay, in which the multiplication and exponentiation operators are suppressed from the notation.
i1 : R = ZZ[x,y];
i2 : f = random(R^{2},R^2)

o2 = {-2} | 8x2+xy+3y2 7x2+8xy+3y2 |

             1      2
o2 : Matrix R  <-- R
i3 : compactMatrixForm = false;
i4 : f

           |    2           2    2            2  |
o4 = {-2}  |  8x  + x*y + 3y   7x  + 8x*y + 3y   |

             1      2
o4 : Matrix R  <-- R

See also

For the programmer

The object compactMatrixForm is a Boolean value.


The source of this document is in Macaulay2Doc/ov_repl.m2:795:0.