<?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>chainComplexMap -- Defines a ChainComplexMap via a list of matrices.</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_lp..._cm_sp__Initial__Degree_sp_eq_gt_sp..._rp.html">next</a> | <a href="index.html">previous</a> | <a href="_chain__Complex__Map_lp..._cm_sp__Initial__Degree_sp_eq_gt_sp..._rp.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>chainComplexMap -- Defines a ChainComplexMap via a list of matrices.</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>chainComplexMap(D,C,mapList)</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>D</tt>, <span>a <a href="../../Macaulay2Doc/html/___Chain__Complex.html">chain complex</a></span>, target of ChainComplexMap</span></li> <li><span><tt>C</tt>, <span>a <a href="../../Macaulay2Doc/html/___Chain__Complex.html">chain complex</a></span>, source of ChainComplexMap</span></li> <li><span><tt>mapList</tt>, <span>a <a href="../../Macaulay2Doc/html/___List.html">list</a></span>, list of maps defining the new ChainComplexMap</span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="../../Macaulay2Doc/html/___Chain__Complex__Map.html">chain complex map</a></span>, The desired ChainComplexMap.</span></li> </ul> </div> </li> <li><div class="single"><a href="../../Macaulay2Doc/html/_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>:<ul><li><span><a href="_chain__Complex__Map_lp..._cm_sp__Initial__Degree_sp_eq_gt_sp..._rp.html">InitialDegree => ...</a>, -- Specify initial degree.</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><table class="examples"><tr><td><pre>i1 : R = ZZ/101[a,b,c] o1 = R o1 : PolynomialRing</pre> </td></tr> <tr><td><pre>i2 : kRes = res coker vars R 1 3 3 1 o2 = R <-- R <-- R <-- R <-- 0 0 1 2 3 4 o2 : ChainComplex</pre> </td></tr> <tr><td><pre>i3 : multBya = extend(kRes,kRes,matrix{{a}}) 1 1 o3 = 0 : R <--------- R : 0 | a | 3 3 1 : R <----------------- R : 1 {1} | a b c | {1} | 0 0 0 | {1} | 0 0 0 | 3 3 2 : R <----- R : 2 0 1 1 3 : R <----- R : 3 0 4 : 0 <----- 0 : 4 0 o3 : ChainComplexMap</pre> </td></tr> <tr><td><pre>i4 : mapList = apply((min kRes..max kRes), i -> multBya_i) o4 = (| a |, {1} | a b c |, 0, 0, 0) {1} | 0 0 0 | {1} | 0 0 0 | o4 : Sequence</pre> </td></tr> <tr><td><pre>i5 : multBya2 = chainComplexMap(kRes,kRes,toList mapList) 1 1 o5 = 0 : R <--------- R : 0 | a | 3 3 1 : R <----------------- R : 1 {1} | a b c | {1} | 0 0 0 | {1} | 0 0 0 | 3 3 2 : R <----- R : 2 0 1 1 3 : R <----- R : 3 0 4 : 0 <----- 0 : 4 0 o5 : ChainComplexMap</pre> </td></tr> <tr><td><pre>i6 : multBya2 == multBya o6 = true</pre> </td></tr> </table> </div> </div> <div class="waystouse"><h2>Ways to use <tt>chainComplexMap</tt> :</h2> <ul><li>chainComplexMap(ChainComplex,ChainComplex,List)</li> </ul> </div> </div> </body> </html>