Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 4328

Macaulay2-1.3.1-8.fc15.i686.rpm

<?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>evaluation and composition of ring maps</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_kernel_spand_spimage_spof_spa_spring_spmap.html">next</a> | <a href="_basic_spconstruction_cm_spsource_spand_sptarget_spof_spa_spring_spmap.html">previous</a> | <a href="_kernel_spand_spimage_spof_spa_spring_spmap.html">forward</a> | <a href="_basic_spconstruction_cm_spsource_spand_sptarget_spof_spa_spring_spmap.html">backward</a> | <a href="_substitution_spand_spmaps_spbetween_springs.html">up</a> | <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>
<div><a href="index.html" title="">Macaulay2Doc</a> > <a href="_substitution_spand_spmaps_spbetween_springs.html" title="">substitution and maps between rings</a> > <a href="_evaluation_spand_spcomposition_spof_spring_spmaps.html" title="">evaluation and composition of ring maps</a></div>
<hr/>
<div><h1>evaluation and composition of ring maps</h1>
<div><h2>evaluating ring maps</h2>
Once a ring map <tt>F</tt> is defined, the image of an element <tt>m</tt> in the source ring can be found by applying the map as <tt>F(m)</tt>.<table class="examples"><tr><td><pre>i1 : R = ZZ[x,y,z];</pre>
</td></tr>
<tr><td><pre>i2 : S = ZZ/101[x,y,z,Degrees => {{1,2},{1,3},{1,3}}]/ideal(x+z^3);</pre>
</td></tr>
<tr><td><pre>i3 : F = map(S,R,{x,y^2,z^3})

                  2
o3 = map(S,R,{x, y , -x})

o3 : RingMap S &lt;--- R</pre>
</td></tr>
<tr><td><pre>i4 : use R; F(107*x+y+z)

      2
o5 = y  + 5x

o5 : S</pre>
</td></tr>
</table>
<h2>composition of ring maps</h2>
The function <a href="__st.html" title="a binary operator, usually used for multiplication">RingMap * RingMap</a>performs a composition of ring maps.  Evaluation of elements in the source of a ring map <tt>G</tt> can also be done using<tt>F(G(m))</tt>.<table class="examples"><tr><td><pre>i6 : T = ZZ/5[x,y];</pre>
</td></tr>
<tr><td><pre>i7 : G = map(T,S);

o7 : RingMap T &lt;--- S</pre>
</td></tr>
<tr><td><pre>i8 : G*F

                  2
o8 = map(T,R,{x, y , -x})

o8 : RingMap T &lt;--- R</pre>
</td></tr>
<tr><td><pre>i9 : use R; G(F(107*x+y+z))

       2
o10 = y

o10 : T</pre>
</td></tr>
</table>
</div>
</div>
</body>
</html>