<?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>chainComplex(Ring) -- make an empty chain complex over a ring</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Chain__Complex__Map.html">next</a> | <a href="_chain__Complex_lp__Matrix_rp.html">previous</a> | <a href="___Chain__Complex__Map.html">forward</a> | <a href="_chain__Complex_lp__Matrix_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>chainComplex(Ring) -- make an empty chain complex over a ring</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>chainComplex R</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="_chain__Complex.html" title="make a chain complex">chainComplex</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>R</tt>, <span>a <a href="___Ring.html">ring</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="___Chain__Complex.html">chain complex</a></span>, an empty chain complex over <tt>R</tt></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>The resulting chain complex can be further populated with modules and maps.<table class="examples"><tr><td><pre>i1 : C = chainComplex ZZ o1 = 0 o1 : ChainComplex</pre> </td></tr> <tr><td><pre>i2 : C.dd_101 = random(ZZ^2,ZZ^3) o2 = | 6 2 3 | | 8 1 9 | 2 3 o2 : Matrix ZZ <--- ZZ</pre> </td></tr> <tr><td><pre>i3 : C.dd_105 = id_(ZZ^2) o3 = | 1 0 | | 0 1 | 2 2 o3 : Matrix ZZ <--- ZZ</pre> </td></tr> <tr><td><pre>i4 : C 2 3 2 2 o4 = ZZ <-- ZZ <-- 0 <-- 0 <-- ZZ <-- ZZ 100 101 102 103 104 105 o4 : ChainComplex</pre> </td></tr> <tr><td><pre>i5 : C.dd 2 3 o5 = 100 : ZZ <------------- ZZ : 101 | 6 2 3 | | 8 1 9 | 2 2 104 : ZZ <----------- ZZ : 105 | 1 0 | | 0 1 | o5 : ChainComplexMap</pre> </td></tr> </table> </div> </div> </div> </body> </html>