Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 5575

Macaulay2-1.3.1-8.fc15.i686.rpm

<?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>straighten -- computes straightening of a tableau</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div>next | <a href="_standard__Tableaux.html">previous</a> | forward | <a href="_standard__Tableaux.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>straighten -- computes straightening of a tableau</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>straighten(t)straighten(t, h)</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>t</tt>, <span>a <a href="../../Macaulay2Doc/html/___List.html">list</a></span>, a tableau to straighten; a tableau looks like {{3,4}, {1,2}} for example, where we list the entries from left to right, top to bottom</span></li>
<li><span><tt>h</tt>, <span>a <a href="../../Macaulay2Doc/html/___Mutable__Hash__Table.html">mutable hash table</a></span>, where the answers should be stored</span></li>
</ul>
</div>
</li>
<li><div class="single">Consequences:<ul><li>If provided, the hashtable h is updated with any calculations which are performed as a result of calling this function. </li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div>If a hashtable h is provided, then this outputs nothing, it simply just modifies h. When looking up values, remember that the keys are stored with rows weakly increasing. If no hashtable is provided, then the user is simply given the straightening of the tableau in terms of semistandard tableaux. The answer is in the form a hashtable: each key is a semistandard tableaux, and the value of the key is the coefficient of that semistandard tableaux used to write the input t as a linear combination. <table class="examples"><tr><td><pre>i1 : h = new MutableHashTable from {}

o1 = MutableHashTable{}

o1 : MutableHashTable</pre>
</td></tr>
<tr><td><pre>i2 : straighten({{3,4}, {1,2}}, h)</pre>
</td></tr>
<tr><td><pre>i3 : h#{{3,4}, {1,2}} -- get the coefficients

o3 = HashTable{{{1, 2}, {3, 4}} => 1}

o3 : HashTable</pre>
</td></tr>
<tr><td><pre>i4 : straighten({{3,4}, {1,2}}) -- just get the answer instead

o4 = HashTable{{{1, 2}, {3, 4}} => 1}

o4 : HashTable</pre>
</td></tr>
</table>
</div>
</div>
<div class="waystouse"><h2>Ways to use <tt>straighten</tt> :</h2>
<ul><li>straighten(List)</li>
<li>straighten(List,MutableHashTable)</li>
</ul>
</div>
</div>
</body>
</html>