Sophie

Sophie

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

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>makeRingMaps -- evaluation on points</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_points.html">next</a> | <a href="index.html">previous</a> | <a href="_points.html">forward</a> | <a href="index.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>makeRingMaps -- evaluation on points</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>makeRingMaps(M,R)</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>M</tt>, <span>a <a href="../../Macaulay2Doc/html/___Matrix.html">matrix</a></span>, in which each column consists of the coordinates of a point</span></li>
<li><span><tt>R</tt>, <span>a <a href="../../Macaulay2Doc/html/___Polynomial__Ring.html">polynomial ring</a></span>, coordinate ring of the affine space containing the points</span></li>
</ul>
</div>
</li>
<li><div class="single">Outputs:<ul><li><span><span>a <a href="../../Macaulay2Doc/html/___List.html">list</a></span>, of ring maps corresponding to evaluations at each point</span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div>Giving the coordinates of a point in affine space is equivalent to giving a ring map from the polynomial ring to the ground field: evaluation at the point.  Given a finite collection of points encoded as the columns of a matrix, this function returns a corresponding list of ring maps.<table class="examples"><tr><td><pre>i1 : M = random(ZZ^3, ZZ^5)

o1 = | 6 9 9 9 2 |
     | 5 1 6 4 9 |
     | 5 0 0 0 8 |

              3        5
o1 : Matrix ZZ  &lt;--- ZZ</pre>
</td></tr>
<tr><td><pre>i2 : R = QQ[x,y,z]

o2 = R

o2 : PolynomialRing</pre>
</td></tr>
<tr><td><pre>i3 : phi = makeRingMaps(M,R)

o3 = {map(QQ,R,{6, 5, 5}), map(QQ,R,{9, 1, 0}), map(QQ,R,{9, 6, 0}),
     ------------------------------------------------------------------------
     map(QQ,R,{9, 4, 0}), map(QQ,R,{2, 9, 8})}

o3 : List</pre>
</td></tr>
<tr><td><pre>i4 : apply (gens(R),r->phi#2 r)

o4 = {9, 6, 0}

o4 : List</pre>
</td></tr>
<tr><td><pre>i5 : phi#2

o5 = map(QQ,R,{9, 6, 0})

o5 : RingMap QQ &lt;--- R</pre>
</td></tr>
</table>
</div>
</div>
<div class="waystouse"><h2>Ways to use <tt>makeRingMaps</tt> :</h2>
<ul><li>makeRingMaps(Matrix,Ring)</li>
</ul>
</div>
</div>
</body>
</html>