<?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>laurent -- Converts an exponent vector or a deformation into a Laurent monomial.</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_link.html">next</a> | <a href="_join__Vectors.html">previous</a> | <a href="_link.html">forward</a> | <a href="_join__Vectors.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>laurent -- Converts an exponent vector or a deformation into a Laurent monomial.</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>laurent(v,R)</tt><br/><tt>laurent(f)</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>v</tt>, <span>a <a href="../../Macaulay2Doc/html/___Vector.html">vector</a></span></span></li> <li><span><tt>f</tt>, <span>a <a href="___First__Order__Deformation.html">first order deformation</a></span></span></li> <li><span><tt>R</tt>, <span>a <a href="../../Macaulay2Doc/html/___Polynomial__Ring.html">polynomial ring</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="../../Macaulay2Doc/html/___Ring__Element.html">ring element</a></span></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><p>Converts the exponent vector v into a Laurent monomial in the variables of R. The result lies in <a href="../../Macaulay2Doc/html/_frac.html" title="construct a fraction field">frac</a> R. The number of variables of R has to match the length of v.</p> <p>If given a <a href="___First__Order__Deformation.html" title="The class of all first order deformations of monomial ideals.">FirstOrderDeformation</a> it returns the corresponding laurent monomial.</p> <div/> <table class="examples"><tr><td><pre>i1 : R=QQ[x_0..x_4] o1 = R o1 : PolynomialRing</pre> </td></tr> <tr><td><pre>i2 : m=vector {1,-2,1,0,0} o2 = | 1 | | -2 | | 1 | | 0 | | 0 | 5 o2 : ZZ</pre> </td></tr> <tr><td><pre>i3 : laurent(m,R) x x 0 2 o3 = ---- 2 x 1 o3 : frac(R)</pre> </td></tr> </table> <p></p> <div/> <table class="examples"><tr><td><pre>i4 : R=QQ[x_0..x_4] o4 = R o4 : PolynomialRing</pre> </td></tr> <tr><td><pre>i5 : addCokerGrading(R); 5 4 o5 : Matrix ZZ <--- ZZ</pre> </td></tr> <tr><td><pre>i6 : I=ideal(x_0*x_1,x_1*x_2,x_2*x_3,x_3*x_4,x_4*x_0) o6 = ideal (x x , x x , x x , x x , x x ) 0 1 1 2 2 3 3 4 0 4 o6 : Ideal of R</pre> </td></tr> <tr><td><pre>i7 : mg=mingens I; 1 5 o7 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i8 : f=firstOrderDeformation(mg, vector {-1,-1,0,2,0}) 2 x 3 o8 = ---- x x 0 1 o8 : first order deformation space of dimension 1</pre> </td></tr> <tr><td><pre>i9 : laurent f 2 x 3 o9 = ---- x x 0 1 o9 : frac(R)</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_laurent.html" title="Converts an exponent vector or a deformation into a Laurent monomial.">laurent</a> -- Converts an exponent vector or a deformation into a Laurent monomial.</span></li> </ul> </div> <div class="waystouse"><h2>Ways to use <tt>laurent</tt> :</h2> <ul><li>laurent(FirstOrderDeformation)</li> <li>laurent(Vector,PolynomialRing)</li> </ul> </div> </div> </body> </html>