Sophie

Sophie

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

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>Matrix ++ Matrix -- direct sum of maps</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="___Matrix_sp_sl_sl_sp__Matrix.html">next</a> | <a href="___Matrix_sp_st_st_sp__Ring__Element.html">previous</a> | <a href="___Matrix_sp_sl_sl_sp__Matrix.html">forward</a> | <a href="___Matrix_sp_st_st_sp__Ring__Element.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>Matrix ++ Matrix -- direct sum of maps</h1>
<div class="single"><h2>Synopsis</h2>
<ul><li><span>Operator: <a href="__pl_pl.html" title="a binary operator, usually used for direct sum">++</a></span></li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div><tt>f++g</tt> -- computes the direct sum of two maps between modules.<p/>
If an argument is a ring element or integer, it is promoted to a one by one matrix.<table class="examples"><tr><td><pre>i1 : R = ZZ/101[a..c];</pre>
</td></tr>
<tr><td><pre>i2 : vars R ++ transpose vars R

o2 = {0}  | a b c 0 |
     {-1} | 0 0 0 a |
     {-1} | 0 0 0 b |
     {-1} | 0 0 0 c |

             4       4
o2 : Matrix R  &lt;--- R</pre>
</td></tr>
<tr><td><pre>i3 : oo^[1]

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

             3       4
o3 : Matrix R  &lt;--- R</pre>
</td></tr>
<tr><td><pre>i4 : a++b++c

o4 = | a 0 0 |
     | 0 b 0 |
     | 0 0 c |

             3       3
o4 : Matrix R  &lt;--- R</pre>
</td></tr>
</table>
Selecting rows or columns of blocks:<ul><li><span><a href="___Matrix_sp^_sp__Array.html" title="component of map corresponding to summand of target">Matrix ^ Array</a> -- component of map corresponding to summand of target</span></li>
<li><span><a href="___Matrix_sp_us_sp__Array.html" title="component of map corresponding to summand of source">Matrix _ Array</a> -- component of map corresponding to summand of source</span></li>
</ul>
</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_direct__Sum.html" title="direct sum of modules or maps">directSum</a> -- direct sum of modules or maps</span></li>
<li><span><a href="___Matrix_sp_vb_sp__Matrix.html" title="join matrices horizontally">Matrix | Matrix</a> -- join matrices horizontally</span></li>
<li><span><a href="___Matrix_sp_vb_vb_sp__Matrix.html" title="join matrices vertically">Matrix || Matrix</a> -- join matrices vertically</span></li>
</ul>
</div>
</div>
</body>
</html>