<?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>FirstOrderDeformation == FirstOrderDeformation -- Compare two first order deformations.</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_full__Cyclic__Polytope.html">next</a> | <a href="_first__Order__Deformation.html">previous</a> | <a href="_full__Cyclic__Polytope.html">forward</a> | <a href="_first__Order__Deformation.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>FirstOrderDeformation == FirstOrderDeformation -- Compare two first order deformations.</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>f1==f2</tt></div> </dd></dl> </div> </li> <li><span>Operator: <a href="../../Macaulay2Doc/html/__eq_eq.html" title="equality">==</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>f1</tt>, <span>a <a href="___First__Order__Deformation.html">first order deformation</a></span></span></li> <li><span><tt>f2</tt>, <span>a <a href="___First__Order__Deformation.html">first order deformation</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="../../Macaulay2Doc/html/___Boolean.html">Boolean value</a></span></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><p>Checks whether f1 and f2 are equal.</p> <div/> <table class="examples"><tr><td><pre>i1 : R=QQ[x_0..x_4];</pre> </td></tr> <tr><td><pre>i2 : addCokerGrading(R) o2 = | -1 -1 -1 -1 | | 1 0 0 0 | | 0 1 0 0 | | 0 0 1 0 | | 0 0 0 1 | 5 4 o2 : Matrix ZZ <--- ZZ</pre> </td></tr> <tr><td><pre>i3 : I=ideal(x_0*x_1,x_1*x_2,x_2*x_3,x_3*x_4,x_4*x_0) o3 = ideal (x x , x x , x x , x x , x x ) 0 1 1 2 2 3 3 4 0 4 o3 : Ideal of R</pre> </td></tr> <tr><td><pre>i4 : mg=mingens I; 1 5 o4 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i5 : f1=firstOrderDeformation(mg, vector {-1,1,0,0,0}) x 1 o5 = -- x 0 o5 : first order deformation space of dimension 1</pre> </td></tr> <tr><td><pre>i6 : f2=firstOrderDeformation(mg, vector {0,2,0,-1,-1}) 2 x 1 o6 = ---- x x 3 4 o6 : first order deformation space of dimension 1</pre> </td></tr> <tr><td><pre>i7 : f2==f2 o7 = true</pre> </td></tr> <tr><td><pre>i8 : f2==f1 o8 = false</pre> </td></tr> </table> </div> </div> </div> </body> </html>