<?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>id -- identity map</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Ideal.html">next</a> | <a href="_hypertext_splist_spformat.html">previous</a> | <a href="___Ideal.html">forward</a> | <a href="_hypertext_splist_spformat.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>id -- identity map</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>id_F</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>F</tt>, <span>a <a href="___Ring.html">ring</a></span>, <span>a <a href="___Module.html">module</a></span>, or <span>a <a href="___Chain__Complex.html">chain complex</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="___Ring__Map.html">ring map</a></span>, <span>a <a href="___Matrix.html">matrix</a></span>, or <span>a <a href="___Chain__Complex__Map.html">chain complex map</a></span> the identity map on <tt>F</tt></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><table class="examples"><tr><td><pre>i1 : R = QQ[a..d];</pre> </td></tr> <tr><td><pre>i2 : id_R o2 = map(R,R,{a, b, c, d}) o2 : RingMap R <--- R</pre> </td></tr> <tr><td><pre>i3 : id_(R^3) o3 = | 1 0 0 | | 0 1 0 | | 0 0 1 | 3 3 o3 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i4 : C = res coker vars R 1 4 6 4 1 o4 = R <-- R <-- R <-- R <-- R <-- 0 0 1 2 3 4 5 o4 : ChainComplex</pre> </td></tr> <tr><td><pre>i5 : id_C 1 1 o5 = 0 : R <--------- R : 0 | 1 | 4 4 1 : R <------------------- R : 1 {1} | 1 0 0 0 | {1} | 0 1 0 0 | {1} | 0 0 1 0 | {1} | 0 0 0 1 | 6 6 2 : R <----------------------- R : 2 {2} | 1 0 0 0 0 0 | {2} | 0 1 0 0 0 0 | {2} | 0 0 1 0 0 0 | {2} | 0 0 0 1 0 0 | {2} | 0 0 0 0 1 0 | {2} | 0 0 0 0 0 1 | 4 4 3 : R <------------------- R : 3 {3} | 1 0 0 0 | {3} | 0 1 0 0 | {3} | 0 0 1 0 | {3} | 0 0 0 1 | 1 1 4 : R <------------- R : 4 {4} | 1 | 5 : 0 <----- 0 : 5 0 o5 : ChainComplexMap</pre> </td></tr> </table> </div> </div> <div class="waystouse"><h2>Ways to use <tt>id</tt> :</h2> <ul><li>id _ ChainComplex</li> <li>id _ Module</li> <li>id _ Ring</li> </ul> </div> <div class="waystouse"><h2>For the programmer</h2> <p>The object <a href="_id.html" title="identity map">id</a> is <span>a <a href="___Scripted__Functor.html">scripted functor</a></span>.</p> </div> </div> </body> </html>