<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>compactMatrixForm -- global flag for compact printing</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_comparison_spoperators.html">next</a> | <a href="_comodule.html">previous</a> | <a href="_comparison_spoperators.html">forward</a> | <a href="_comodule.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <hr/> <div><h1>compactMatrixForm -- global flag for compact printing</h1> <div class="single"><h2>Synopsis</h2> <ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>compactMatrixForm = x</tt></div> </dd></dl> </div> </li> <li><div class="single">Consequences:<ul><li>changes the display of matrices</li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><tt>compactMatrixForm</tt> is a global flag that specifies whether to display matrices in compact form.<p/> The default value is <tt>true</tt>. The compact form is the form used by <i>Macaulay</i>, in which the multiplication and exponentiation operators are suppressed from the notation.<table class="examples"><tr><td><pre>i1 : R = ZZ[x,y];</pre> </td></tr> <tr><td><pre>i2 : f = random(R^{2},R^2) o2 = {-2} | 2x2+6xy+7y2 4x2+8xy+2y2 | 1 2 o2 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i3 : compactMatrixForm = false;</pre> </td></tr> <tr><td><pre>i4 : f | 2 2 2 2 | o4 = | 2x + 6x*y + 7y 4x + 8x*y + 2y | 1 2 o4 : Matrix R <--- R</pre> </td></tr> </table> </div> </div> <div class="waystouse"><h2>For the programmer</h2> <p>The object <a href="_compact__Matrix__Form.html" title="global flag for compact printing">compactMatrixForm</a> is <span>a <a href="___Boolean.html">Boolean value</a></span>.</p> </div> </div> </body> </html>