<?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>Hom(Module,Module) -- module of homomorphisms</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_home__Directory.html">next</a> | <a href="___Hom_lp__Module_cm__Chain__Complex_rp.html">previous</a> | <a href="_home__Directory.html">forward</a> | <a href="___Hom_lp__Module_cm__Chain__Complex_rp.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>Hom(Module,Module) -- module of homomorphisms</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>Hom(M,N)</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="___Hom.html" title="module of homomorphisms">Hom</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>M</tt>, <span>a <a href="___Module.html">module</a></span></span></li> <li><span><tt>N</tt>, <span>a <a href="___Module.html">module</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="___Module.html">module</a></span>, The module Hom_R(M,N), where M and N are both R-modules</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>If <tt>M</tt> or <tt>N</tt> is an ideal or ring, it is regarded as a module in the evident way.<p/> <table class="examples"><tr><td><pre>i1 : R = QQ[x,y]/(y^2-x^3);</pre> </td></tr> <tr><td><pre>i2 : M = image matrix{{x,y}} o2 = image | x y | 1 o2 : R-module, submodule of R</pre> </td></tr> <tr><td><pre>i3 : H = Hom(M,M) o3 = subquotient (| 1 x 0 |, | -y 0 x2 0 |) | 0 0 1 | | x 0 -y 0 | | 0 y x | | 0 -y 0 x2 | | 1 0 0 | | 0 x 0 -y | 4 o3 : R-module, subquotient of R</pre> </td></tr> <tr><td><pre>i4 : H1 = prune H o4 = cokernel | x2 -y | | -y x | 2 o4 : R-module, quotient of R</pre> </td></tr> </table> Specific homomorphisms may be obtained using <a href="_homomorphism.html" title="get the homomorphism from element of Hom">homomorphism</a>.<table class="examples"><tr><td><pre>i5 : f1 = homomorphism H_{0} o5 = {1} | 1 0 | {1} | 0 1 | o5 : Matrix</pre> </td></tr> <tr><td><pre>i6 : f2 = homomorphism H_{1} o6 = {1} | x y | {1} | 0 0 | o6 : Matrix</pre> </td></tr> <tr><td><pre>i7 : f3 = homomorphism H_{2} o7 = {1} | 0 x | {1} | 1 0 | o7 : Matrix</pre> </td></tr> </table> In this example, f1 is the identity map, f2 is multiplication by x, and f3 maps x to y and y to x^2.<p/> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_homomorphism.html" title="get the homomorphism from element of Hom">homomorphism</a> -- get the homomorphism from element of Hom</span></li> <li><span><a href="___Ext.html" title="compute an Ext module">Ext</a> -- compute an Ext module</span></li> </ul> </div> </div> </body> </html>