<?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>torusInvariants -- ring of invariants</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_val__Ring.html">next</a> | <a href="_start__Nmz.html">previous</a> | <a href="_val__Ring.html">forward</a> | <a href="_start__Nmz.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>torusInvariants -- ring of invariants</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>torusInvariants(T,R)</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><span>a <a href="../../Macaulay2Doc/html/___Matrix.html">matrix</a></span>, matrix (a<sub>ij</sub>) of the action</span></li> <li><span><span>a <a href="../../Macaulay2Doc/html/___Ring.html">ring</a></span>, the ring on which the action takes place</span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>an <a href="../../Macaulay2Doc/html/___Ideal.html">ideal</a></span>, the list of monomials generating the ring of invariants R<sup>T</sup></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div> Let T=(K<sup>*</sup>)<sup>r</sup> be the r-dimensional torus acting on the polynomial ring R=K[X<sub>1</sub>,...,X<sub>n</sub>] diagonally. Such an action can be described as follows: there are integers a<sub>ij</sub>, i=1,...,r, j=1,...,n, such that (λ<sub>1</sub>,...,λ<sub>r</sub>)∈T acts by the substitution <br/><br/>X<sub>j</sub>→λ<sub>1</sub><sup>a<sub>1j</sub></sup>*...*λ<sub>r</sub><sup>a<sub>rj</sub></sup>X<sub>j</sub>, j=1,...,n.<br/><br/>In order to compute the ring of invariants R<sup>T</sup>, one must specify the matrix (a<sub>ij</sub>).<table class="examples"><tr><td><pre>i1 : R=QQ[x,y,z,w];</pre> </td></tr> <tr><td><pre>i2 : T=matrix({{-1,-1,2,0},{1,1,-2,-1}}); 2 4 o2 : Matrix ZZ <--- ZZ</pre> </td></tr> <tr><td><pre>i3 : torusInvariants(T,R) 2 2 o3 = ideal (x z, x*y*z, y z) o3 : Ideal of R</pre> </td></tr> </table> </div> </div> <div class="single"><h2>Caveat</h2> <div>It is of course possible that R<sup>T</sup>=K. At present, <tt>Normaliz cannot deal with the zero cone and will issue the (wrong) error message that the cone is not pointed.</tt></div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_val__Ring.html" title="ring of valuations">valRing</a> -- ring of valuations</span></li> <li><span><a href="_val__Ring__Ideal.html" title="valuation ideal">valRingIdeal</a> -- valuation ideal</span></li> </ul> </div> <div class="waystouse"><h2>Ways to use <tt>torusInvariants</tt> :</h2> <ul><li>torusInvariants(Matrix,Ring)</li> </ul> </div> </div> </body> </html>