Sophie

Sophie

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

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>sum(ChainComplexMap) -- direct sum of the components of a chain map</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_sum_lp__List_rp.html">next</a> | <a href="_sum_lp__Chain__Complex_rp.html">previous</a> | <a href="_sum_lp__List_rp.html">forward</a> | <a href="_sum_lp__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>sum(ChainComplexMap) -- direct sum of the components of a chain map</h1>
<div class="single"><h2>Synopsis</h2>
<ul><li><span>Function: <a href="_sum.html" title="compute the sum">sum</a></span></li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div><tt>sum C</tt> -- yields the sum of the modules in a chain complex map.<p/>
The degrees of the components are preserved.<table class="examples"><tr><td><pre>i1 : R = ZZ/101[a..c];</pre>
</td></tr>
<tr><td><pre>i2 : C = res coker vars R

      1      3      3      1
o2 = R  &lt;-- R  &lt;-- R  &lt;-- R  &lt;-- 0
                                  
     0      1      2      3      4

o2 : ChainComplex</pre>
</td></tr>
<tr><td><pre>i3 : sum C.dd

o3 = {0} | 0 a b c 0  0  0  0  |
     {1} | 0 0 0 0 -b -c 0  0  |
     {1} | 0 0 0 0 a  0  -c 0  |
     {1} | 0 0 0 0 0  a  b  0  |
     {2} | 0 0 0 0 0  0  0  c  |
     {2} | 0 0 0 0 0  0  0  -b |
     {2} | 0 0 0 0 0  0  0  a  |
     {3} | 0 0 0 0 0  0  0  0  |

             8       8
o3 : Matrix R  &lt;--- R</pre>
</td></tr>
<tr><td><pre>i4 : betti oo

            0 1
o4 = total: 8 8
        -1: . 1
         0: 1 3
         1: 3 3
         2: 3 1
         3: 1 .

o4 : BettiTally</pre>
</td></tr>
</table>
</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_sum.html" title="compute the sum">sum</a> -- compute the sum</span></li>
<li><span><a href="_sum_lp__Chain__Complex_rp.html" title="direct sum of the components of a chain complex">sum(ChainComplex)</a> -- direct sum of the components of a chain complex</span></li>
</ul>
</div>
</div>
</body>
</html>