<?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>complete(ChainComplex) -- complete the internal parts</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Complete__Intersection.html">next</a> | <a href="_complete.html">previous</a> | <a href="___Complete__Intersection.html">forward</a> | <a href="_complete.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>complete(ChainComplex) -- complete the internal parts</h1> <div class="single"><h2>Synopsis</h2> <ul><li><span>Function: <a href="_complete.html" title="">complete</a></span></li> </ul> </div> <div class="single"><h2>Description</h2> <div><tt>complete C</tt> -- fills in the modules of a chain complex obtained as a resolution with information from the engine.<p/> For the sake of efficiency, when a chain complex arises as a resolution of a module, the free modules are not filled in until they are needed. This routine can be used to fill them all in, and is called internally when a chain complex is printed. Normally users will not need this function, unless they use <a href="__sh.html" title="length, or access to elements">#</a> to obtain the modules of the chain complex, or use <a href="_keys.html" title="keys used in a hash table">keys</a> to see which spots are occupied by modules.<table class="examples"><tr><td><pre>i1 : R = ZZ/101[a..d];</pre> </td></tr> <tr><td><pre>i2 : C = resolution cokernel vars R;</pre> </td></tr> <tr><td><pre>i3 : keys C o3 = {cache, Resolution, dd, ring} o3 : List</pre> </td></tr> <tr><td><pre>i4 : complete C;</pre> </td></tr> <tr><td><pre>i5 : keys C o5 = {0, complete, cache, 1, 2, 3, 4, dd, 5, Resolution, ring} o5 : List</pre> </td></tr> </table> </div> </div> </div> </body> </html>