<?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>constructing maps between modules</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_content_lp__Ring__Element_rp.html">next</a> | <a href="___Constant.html">previous</a> | <a href="_content_lp__Ring__Element_rp.html">forward</a> | <a href="___Constant.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>constructing maps between modules</h1> <div>Let's start with a free module.<table class="examples"><tr><td><pre>i1 : R = ZZ/5[x,y,z];</pre> </td></tr> <tr><td><pre>i2 : F = R^3 3 o2 = R o2 : R-module, free</pre> </td></tr> </table> A list of indices can be used to produce homomorphisms corresponding to the corresponding basis vectors.<table class="examples"><tr><td><pre>i3 : F_{0,1,2} o3 = | 1 0 0 | | 0 1 0 | | 0 0 1 | 3 3 o3 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i4 : F_{0,1} o4 = | 1 0 | | 0 1 | | 0 0 | 3 2 o4 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i5 : F_{1,2} o5 = | 0 0 | | 1 0 | | 0 1 | 3 2 o5 : Matrix R <--- R</pre> </td></tr> </table> Matrices are viewed as linear transformations.<table class="examples"><tr><td><pre>i6 : f = matrix{{x,y,z}} o6 = | x y z | 1 3 o6 : Matrix R <--- R</pre> </td></tr> </table> </div> </div> </body> </html>