<?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>hilbertPolynomial(..., Projective => ...) -- choose how to display the Hilbert polynomial</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_hilbert__Polynomial_lp__Coherent__Sheaf_rp.html">next</a> | <a href="_hilbert__Polynomial.html">previous</a> | <a href="_hilbert__Polynomial_lp__Coherent__Sheaf_rp.html">forward</a> | <a href="_hilbert__Polynomial.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>hilbertPolynomial(..., Projective => ...) -- choose how to display the Hilbert polynomial</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>hilbertPolynomial(...,Projective => b</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>b</tt>, <span>a <a href="___Boolean.html">Boolean value</a></span>, either true or false</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><tt>Projective => true</tt> is an option to <a href="_hilbert__Polynomial.html" title="compute the Hilbert polynomial">hilbertPolynomial</a> which specifies that the Hilbert polynomial produced should be expressed in terms of the Hilbert polynomials of projective spaces. This is the default.<p/> <tt>Projective => false</tt> is an option to <a href="_hilbert__Polynomial.html" title="compute the Hilbert polynomial">hilbertPolynomial</a> which specifies that the Hilbert polynomial produced should be expressed as a polynomial in the variable <tt>i</tt>.<p/> We compute the <a href="_hilbert__Polynomial.html">Hilbert polynomial</a> of a coordinate ring of the rational quartic curve in <tt>P^3.</tt><table class="examples"><tr><td><pre>i1 : R = ZZ/101[a..d];</pre> </td></tr> <tr><td><pre>i2 : S = coimage map(R, R, {a^4, a^3*b, a*b^3, b^4});</pre> </td></tr> <tr><td><pre>i3 : hilbertPolynomial S o3 = - 3*P + 4*P 0 1 o3 : ProjectiveHilbertPolynomial</pre> </td></tr> <tr><td><pre>i4 : hilbertPolynomial(S, Projective=>false) o4 = 4i + 1 o4 : QQ[i]</pre> </td></tr> </table> When the option Projective is false, the variable <tt>i</tt> is a local variable. The command <tt>use ring</tt>will make <tt>i</tt>into a global variable.</div> </div> <h2>Further information</h2> <ul><li><span>Default value: <a href="_true.html" title="">true</a></span></li> <li><span>Function: <span><a href="_hilbert__Polynomial.html" title="compute the Hilbert polynomial">hilbertPolynomial</a> -- compute the Hilbert polynomial</span></span></li> <li><span>Option name: <span><a href="___Projective.html" title="whether to produce a projective Hilbert polynomial">Projective</a> -- whether to produce a projective Hilbert polynomial</span></span></li> </ul> <div class="single"><h2>See also</h2> <ul><li><span><a href="___Projective__Hilbert__Polynomial.html" title="the class of all Hilbert polynomials">ProjectiveHilbertPolynomial</a> -- the class of all Hilbert polynomials</span></li> </ul> </div> </div> </body> </html>