<?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>newRing -- make a copy of a ring, with some features changed</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_nextkey.html">next</a> | <a href="___New__Of__Method.html">previous</a> | <a href="_nextkey.html">forward</a> | <a href="___New__Of__Method.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>newRing -- make a copy of a ring, with some features changed</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 = newRing(R,options)</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>R</tt>, a polynomial ring or a quotient of a polynomial ring</span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><tt>S</tt>, <span>a <a href="___Ring.html">ring</a></span>, a new ring, constructed in the same way <tt>R</tt> was, over the same coefficient ring, but with the newly specified options overriding those used before. See <a href="_monoid.html" title="make or retrieve a monoid">monoid</a> for a description of those options. If <tt>R</tt> was a quotient ring, then the number of variables must be the same, and S will be a quotient ring, too, with defining ideal obtained from the old by substituting the new variables for the old, preserving their order.</span></li> </ul> </div> </li> <li><div class="single"><a href="_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>:<ul><li><span><a href="_new__Ring.html">DegreeLift => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">DegreeMap => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">DegreeRank => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">Degrees => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">Global => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">Heft => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">Inverses => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">Join => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">Local => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">MonomialOrder => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">MonomialSize => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">SkewCommutative => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">VariableBaseName => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">Variables => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">Weights => ...</a>, -- make a copy of a ring, with some features changed</span></li> <li><span><a href="_new__Ring.html">WeylAlgebra => ...</a>, -- make a copy of a ring, with some features changed</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><p>If a different number of variables is given with <a href="___Variables.html" title="name for an optional argument">Variables</a>, then the list of degrees in <tt>R</tt> will be ignored. If a new degree rank is specified with <a href="___Degree__Rank.html" title="name for an optional argument">DegreeRank</a> then the list of degrees and the heft vector of <tt>R</tt> will be ignored. If a new nonempty list of degrees is specified with <a href="___Degrees.html" title="name for an optional argument">Degrees</a>, then the degree rank and and the heft vector of <tt>R</tt> will be ignored.</p> <table class="examples"><tr><td><pre>i1 : R = QQ[x,y,MonomialOrder => Lex,Degrees=>{3,5}];</pre> </td></tr> <tr><td><pre>i2 : describe newRing(R,MonomialOrder => GRevLex) o2 = QQ[x..y, Degrees => {3, 5}, Heft => {1}, MonomialOrder => ------------------------------------------------------------------------ {MonomialSize => 32}, DegreeRank => 1] {GRevLex => {3, 5} } {Position => Up }</pre> </td></tr> <tr><td><pre>i3 : describe newRing(R,Variables=>4) o3 = QQ[p , p , p , p , Degrees => {4:1}, Heft => {1}, MonomialOrder => {MonomialSize => 32}, DegreeRank => 1] 0 1 2 3 {Lex => 2 } {Position => Up } {GRevLex => {2:1} }</pre> </td></tr> <tr><td><pre>i4 : describe newRing(R,Heft=>{2}) o4 = QQ[x..y, Degrees => {3, 5}, Heft => {2}, MonomialOrder => ------------------------------------------------------------------------ {MonomialSize => 32}, DegreeRank => 1] {Lex => 2 } {Position => Up }</pre> </td></tr> <tr><td><pre>i5 : S = R/(x^2+y^3);</pre> </td></tr> <tr><td><pre>i6 : describe newRing(R,Variables=>2) o6 = QQ[p , p , Degrees => {3, 5}, Heft => {1}, MonomialOrder => 0 1 ------------------------------------------------------------------------ {MonomialSize => 32}, DegreeRank => 1] {Lex => 2 } {Position => Up }</pre> </td></tr> </table> <p>The default values for the options of <tt>newRing</tt> are all set to a non-accessible private symbol whose name is <tt>nothing</tt>.</p> </div> </div> <div class="waystouse"><h2>Ways to use <tt>newRing</tt> :</h2> <ul><li>newRing(PolynomialRing)</li> <li>newRing(QuotientRing)</li> </ul> </div> </div> </body> </html>