next | previous | forward | backward | up | top | index | toc | Macaulay2 web site

compactMatrixForm -- global flag for compact printing

Synopsis

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} | 9x2+4xy+y2 2x2+2xy+2y2 |

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

     |   2           2    2            2 |
o4 = | 9x  + 4x*y + y   2x  + 2x*y + 2y  |

             1       2
o4 : Matrix R  <--- R

For the programmer

The object compactMatrixForm is a Boolean value.