<?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>content(RingElement) -- the content of a polynomial</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_continue.html">next</a> | <a href="_constructing_spmaps_spbetween_spmodules.html">previous</a> | <a href="_continue.html">forward</a> | <a href="_constructing_spmaps_spbetween_spmodules.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>content(RingElement) -- the content of a polynomial</h1> <div class="single"><h2>Synopsis</h2> <ul><li><span>Function: <a href="_content_lp__Ring__Element_rp.html" title="the content of a polynomial">content</a></span></li> </ul> </div> <div class="single"><h2>Description</h2> <div><tt>content f</tt> -- returns the content of a matrix or polynomial.<p/> The content is the ideal in the base ring generated by the coefficients.<table class="examples"><tr><td><pre>i1 : R = ZZ[x] o1 = R o1 : PolynomialRing</pre> </td></tr> <tr><td><pre>i2 : content(4*x + 6*x^5) o2 = ideal (6, 4) o2 : Ideal of ZZ</pre> </td></tr> <tr><td><pre>i3 : generator oo o3 = 2</pre> </td></tr> </table> </div> </div> </div> </body> </html>