<?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>Singular Book 2.1.34 -- minimal presentations, prune</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Singular_sp__Book_sp2.2.15.html">next</a> | <a href="___Singular_sp__Book_sp2.1.26.html">previous</a> | <a href="___Singular_sp__Book_sp2.2.15.html">forward</a> | <a href="___Singular_sp__Book_sp2.1.26.html">backward</a> | <a href="___M2__Singular__Book.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="_basic_spcommutative_spalgebra.html" title="">basic commutative algebra</a> > <a href="___M2__Singular__Book.html" title="Macaulay2 examples for the Singular book">M2SingularBook</a> > <a href="___Singular_sp__Book_sp2.1.34.html" title="minimal presentations, prune">Singular Book 2.1.34</a></div> <hr/> <div><h1>Singular Book 2.1.34 -- minimal presentations, prune</h1> <div><table class="examples"><tr><td><pre>i1 : R = QQ[x,y,z,MonomialOrder=>{Weights=>{-1,-1,-1},RevLex},Global=>false] o1 = R o1 : PolynomialRing</pre> </td></tr> <tr><td><pre>i2 : M = cokernel matrix{{0,y},{x*y-1,x*z},{x*y+1,x*z}} o2 = cokernel | 0 y | | -1+xy xz | | 1+xy xz | 3 o2 : R-module, quotient of R</pre> </td></tr> <tr><td><pre>i3 : null -- prune M -- doesn't work yet</pre> </td></tr> <tr><td><pre>i4 : stderr << "--this example doesn't work yet" << endl; --this example doesn't work yet</pre> </td></tr> </table> </div> </div> </body> </html>