next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: compactMatrixForm

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} | 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

For the programmer

The object compactMatrixForm is a Boolean value.