next | previous | forward | backward | up | top | index | toc | home

compactMatrixForm -- global flag for compact printing

Synopsis

Description

compactMatrixForm is a global flag which 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} | xy+5y2 2x2-9xy-9y2 |

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

     |         2    2            2 |
o4 = | x*y + 5y   2x  - 9x*y - 9y  |

             1       2
o4 : Matrix R  <--- R

For the programmer

The object compactMatrixForm is a Boolean value.