<?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>obtaining the monomial order of a ring</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_graded_spand_spmultigraded_sppolynomial_springs.html">next</a> | <a href="___Monomial__Order.html">previous</a> | forward | <a href="___Monomial__Order.html">backward</a> | <a href="_monomial_sporderings.html">up</a> | <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> <div><a href="index.html" title="">Macaulay2Doc</a> > <a href="_rings.html" title="">rings</a> > <a href="_monomial_sporderings.html" title="">monomial orderings</a> > <a href="_obtaining_spthe_spmonomial_sporder_spof_spa_spring.html" title="">obtaining the monomial order of a ring</a></div> <hr/> <div><h1>obtaining the monomial order of a ring</h1> <div>The monomial order of a ring is stored as an option.<table class="examples"><tr><td><pre>i1 : R = QQ[x_1 .. x_10, MonomialOrder=>{4,6}];</pre> </td></tr> <tr><td><pre>i2 : options R o2 = OptionTable{DegreeLift => null } DegreeMap => null DegreeRank => 1 Degrees => {{1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}} Global => true Heft => {1} Inverses => false Join => null Local => false MonomialOrder => {MonomialSize => 32 } {GRevLex => {1, 1, 1, 1} } {GRevLex => {1, 1, 1, 1, 1, 1}} {Position => Up } SkewCommutative => {} Variables => {x , x , x , x , x , x , x , x , x , x } 1 2 3 4 5 6 7 8 9 10 WeylAlgebra => {} o2 : OptionTable</pre> </td></tr> <tr><td><pre>i3 : (options R).MonomialOrder o3 = {MonomialSize => 32 } {GRevLex => {1, 1, 1, 1} } {GRevLex => {1, 1, 1, 1, 1, 1}} {Position => Up } o3 : VerticalList</pre> </td></tr> <tr><td><pre>i4 : S = QQ[a..d];</pre> </td></tr> <tr><td><pre>i5 : (options S).MonomialOrder o5 = {MonomialSize => 32 } {GRevLex => {1, 1, 1, 1}} {Position => Up } o5 : VerticalList</pre> </td></tr> </table> </div> </div> </body> </html>