<?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>RingElement .. RingElement -- a sequence of consecutive generators of a polynomial ring</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Ring__Element_sp.._lt_sp__Ring__Element.html">next</a> | <a href="___Ring__Element.html">previous</a> | <a href="___Ring__Element_sp.._lt_sp__Ring__Element.html">forward</a> | <a href="___Ring__Element.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>RingElement .. RingElement -- a sequence of consecutive generators of a polynomial 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>s .. t</tt></div> </dd></dl> </div> </li> <li><span>Operator: <a href="_...html" title="a binary operator, used for sequences of consecutive items">..</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>s</tt>, <span>a <a href="___Ring__Element.html">ring element</a></span></span></li> <li><span><tt>t</tt>, <span>a <a href="___Ring__Element.html">ring element</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span>the sequence of consecutive generators of a polynomial ring, from <tt>s</tt> to <tt>t</tt>, inclusive</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><table class="examples"><tr><td><pre>i1 : R = QQ[a..z] o1 = R o1 : PolynomialRing</pre> </td></tr> <tr><td><pre>i2 : b .. i o2 = (b, c, d, e, f, g, h, i) o2 : Sequence</pre> </td></tr> <tr><td><pre>i3 : plus oo o3 = b + c + d + e + f + g + h + i o3 : R</pre> </td></tr> </table> <p>Warning: former behavior involved making the names of the generators consecutive, so the results in the next example differ from those given before.</p> <table class="examples"><tr><td><pre>i4 : R = QQ[e,d,c,b,a,X_1,y,X_2] o4 = R o4 : PolynomialRing</pre> </td></tr> <tr><td><pre>i5 : e .. a o5 = () o5 : Sequence</pre> </td></tr> <tr><td><pre>i6 : X_1 .. X_2 o6 = (X , X ) 1 2 o6 : Sequence</pre> </td></tr> </table> <p>Warning: since former behavior involved only the names of the generators, there was no requirement that <tt>s</tt> and <tt>t</tt> be in the same ring, whereas now there is.</p> </div> </div> </div> </body> </html>