<?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(..., Order => ...) -- display the truncated power series expansion</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..._cm_sp__Reduce_sp_eq_gt_sp..._rp.html">next</a> | <a href="_hilbert__Series.html">previous</a> | <a href="_hilbert__Series_lp..._cm_sp__Reduce_sp_eq_gt_sp..._rp.html">forward</a> | <a href="_hilbert__Series.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(..., Order => ...) -- display the truncated power series expansion</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(..., Order => n)</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>n</tt>, <span>an <a href="___Z__Z.html">integer</a></span></span></li> </ul> </div> </li> <li><div class="single">Consequences:<ul><li>The output is no longer of type <a href="___Divide.html" title="the class of all divide expressions">Divide</a>. It is a polynomial in the <a href="_degrees__Ring.html">degrees ring</a>.</li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>We compute the Hilbert series both without and with the optional argument. In the second case notice the terms of power series expansion up to, but not including, degree 5 are displayed rather than expressing the series as a rational function. The polynomial expression is an element of a Laurent polynomial ring that is the <a href="_degrees__Ring.html">degrees ring</a> of the ambient ring.<table class="examples"><tr><td><pre>i1 : R = ZZ/101[x,y];</pre> </td></tr> <tr><td><pre>i2 : hilbertSeries(R/x^3) 3 1 - T o2 = -------- 2 (1 - T) o2 : Expression of class Divide</pre> </td></tr> <tr><td><pre>i3 : hilbertSeries(R/x^3, Order =>5) 2 3 4 o3 = 1 + 2T + 3T + 3T + 3T o3 : ZZ[T]</pre> </td></tr> </table> If the ambient ring is multigraded, then the <a href="_degrees__Ring.html">degrees ring</a> has multiple variables.<table class="examples"><tr><td><pre>i4 : R = ZZ/101[x,y, Degrees=>{{1,2},{2,3}}];</pre> </td></tr> <tr><td><pre>i5 : hilbertSeries(R/x^3, Order =>5) 2 2 4 2 3 3 5 4 7 4 6 o5 = 1 + T T + T T + T T + T T + T T + T T 0 1 0 1 0 1 0 1 0 1 0 1 o5 : ZZ[T , T ] 0 1</pre> </td></tr> </table> The heft vector provides a suitable monomial ordering and degrees in the ring of the Hilbert series.<table class="examples"><tr><td><pre>i6 : R = QQ[a..d,Degrees=>{{-2,-1},{-1,0},{0,1},{1,2}}] o6 = R o6 : PolynomialRing</pre> </td></tr> <tr><td><pre>i7 : hilbertSeries(R, Order =>3) 2 -1 -2 -1 2 4 3 2 -1 -2 o7 = 1 + T T + T + T + T T + T T + T T + 2T + 2T T + 2T + 0 1 1 0 0 1 0 1 0 1 1 0 1 0 ------------------------------------------------------------------------ -3 -1 -4 -2 T T + T T 0 1 0 1 o7 : ZZ[T , T ] 0 1</pre> </td></tr> <tr><td><pre>i8 : degrees ring oo o8 = {{-1}, {1}} o8 : List</pre> </td></tr> <tr><td><pre>i9 : heft R o9 = {-1, 1} o9 : List</pre> </td></tr> </table> </div> </div> <h2>Further information</h2> <ul><li><span>Default value: <a href="_infinity.html" title="infinity">infinity</a></span></li> <li><span>Function: <span><a href="_hilbert__Series.html" title="compute the Hilbert series">hilbertSeries</a> -- compute the Hilbert series</span></span></li> <li><span>Option name: <span><a href="___Order.html" title="specify the order of a Hilbert series required">Order</a> -- specify the order of a Hilbert series required</span></span></li> </ul> </div> </body> </html>