<?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>getNumInvs -- returns the numerical invariants computed</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_intcl__Mon__Ideal.html">next</a> | <a href="_get__Nmz__Version.html">previous</a> | <a href="_intcl__Mon__Ideal.html">forward</a> | <a href="_get__Nmz__Version.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>getNumInvs -- returns the numerical invariants computed</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>getNumInvs()</tt></div> </dd></dl> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="../../Macaulay2Doc/html/___List.html">list</a></span>, the numerical invariants</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>This function returns a list whose length depends on the invariants available. The order of the elements in the list is always the same. Each list element has two parts. The first is a <a href="../../Macaulay2Doc/html/___String.html" title="the class of all strings">String</a> describing the invariant, the second is the invariant, namely an <a href="../../Macaulay2Doc/html/___Z__Z.html" title="the class of all integers">ZZ</a> for rank, index, multiplicity, a <a href="../../Macaulay2Doc/html/___Sequence.html" title="the class of all sequences -- (...)">Sequence</a> for the weights, the h-vector and the Hilbert polynomial and a <a href="../../Macaulay2Doc/html/___Boolean.html" title="the class of Boolean values">Boolean</a> for homogeneous and primary.<table class="examples"><tr><td><pre>i1 : R=ZZ/37[x,y,t];</pre> </td></tr> <tr><td><pre>i2 : I=ideal(x^3,x^2*y,y^3); o2 : Ideal of R</pre> </td></tr> <tr><td><pre>i3 : setNmzOption("hilb",true);</pre> </td></tr> <tr><td><pre>i4 : intclMonIdeal(I);</pre> </td></tr> <tr><td><pre>i5 : getNumInvs() o5 = {{hilbert basis elements, 6}, {number extreme rays, 4}, {rank, 3}, ------------------------------------------------------------------------ {index, 1}, {number support hyperplanes, 4}, {homogeneous, true}, ------------------------------------------------------------------------ {height 1 elements, 6}, {homogeneous weights, (1, 1, -2)}, ------------------------------------------------------------------------ {multiplicity, 4}, {h-vector, (1, 3, 0)}, {hilbert polynomial, (2, 6, ------------------------------------------------------------------------ 4)}, {primary, true}, {ideal multiplicity, 9}} o5 : List</pre> </td></tr> </table> Note: This function is available even if no filename has been specified.</div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_show__Num__Invs.html" title="prints the numerical invariants computed">showNumInvs</a> -- prints the numerical invariants computed</span></li> <li><span><a href="_export__Num__Invs.html" title="makes the numerical invariants availabe to Macaulay 2">exportNumInvs</a> -- makes the numerical invariants availabe to Macaulay 2</span></li> </ul> </div> </div> </body> </html>