<?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>hilbertSeries(PolynomialRing) -- compute the Hilbert series of a ring</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_hilbert__Series_lp__Projective__Hilbert__Polynomial_rp.html">next</a> | <a href="_hilbert__Series_lp__Module_rp.html">previous</a> | <a href="_hilbert__Series_lp__Projective__Hilbert__Polynomial_rp.html">forward</a> | <a href="_hilbert__Series_lp__Module_rp.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>hilbertSeries(PolynomialRing) -- compute the Hilbert series of a ring</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>hilbertSeries R</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="_hilbert__Series.html" title="compute the Hilbert series">hilbertSeries</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>R</tt>, <span>a <a href="___Polynomial__Ring.html">polynomial ring</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="___Divide.html">divide expression</a></span>, the Hilbert series</span></li> </ul> </div> </li> <li><div class="single"><a href="_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>:<ul><li><span><a href="_hilbert__Series_lp..._cm_sp__Order_sp_eq_gt_sp..._rp.html">Order => ...</a>, -- display the truncated power series expansion</span></li> <li><span><a href="_hilbert__Series_lp..._cm_sp__Reduce_sp_eq_gt_sp..._rp.html">Reduce => ...</a>, -- reduce the Hilbert series</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>We compute the <a href="_hilbert__Series.html">Hilbert series</a> of a ring.<table class="examples"><tr><td><pre>i1 : R = ZZ/101[x, Degrees => {2}]/ideal(x^2);</pre> </td></tr> <tr><td><pre>i2 : s = hilbertSeries R 4 1 - T o2 = -------- 2 (1 - T ) o2 : Expression of class Divide</pre> </td></tr> <tr><td><pre>i3 : numerator s 4 o3 = 1 - T o3 : ZZ[T]</pre> </td></tr> <tr><td><pre>i4 : poincare R 4 o4 = 1 - T o4 : ZZ[T]</pre> </td></tr> </table> Recall that the variables of the power series are the variables of the <a href="_degrees__Ring.html">degrees ring</a>.<table class="examples"><tr><td><pre>i5 : R=ZZ/101[x, Degrees => {{1,1}}]/ideal(x^2);</pre> </td></tr> <tr><td><pre>i6 : s = hilbertSeries R 2 2 1 - T T 0 1 o6 = ---------- (1 - T T ) 0 1 o6 : Expression of class Divide</pre> </td></tr> <tr><td><pre>i7 : numerator s 2 2 o7 = 1 - T T 0 1 o7 : ZZ[T , T ] 0 1</pre> </td></tr> <tr><td><pre>i8 : poincare R 2 2 o8 = 1 - T T 0 1 o8 : ZZ[T , T ] 0 1</pre> </td></tr> </table> </div> </div> </div> </body> </html>