<?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>substitute(ChainComplex,Ring) -- Change the ring over which the ChainComplex is defined.</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_taylor.html">next</a> | <a href="_resolution_lp__Chain__Complex_rp.html">previous</a> | <a href="_taylor.html">forward</a> | <a href="_resolution_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>substitute(ChainComplex,Ring) -- Change the ring over which the ChainComplex is defined.</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>substitute(chCx, S)</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="../../Macaulay2Doc/html/_substitute.html" title="substituting values for variables">substitute</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>chCx</tt>, <span>a <a href="../../Macaulay2Doc/html/___Chain__Complex.html">chain complex</a></span>, </span></li> <li><span><tt>S</tt>, <span>a <a href="../../Macaulay2Doc/html/___Ring.html">ring</a></span>, </span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span>The ChainComplex chCx over the ring R</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 : S = R/ideal{a^2,b^2,c^2} o2 = S o2 : QuotientRing</pre> </td></tr> <tr><td><pre>i3 : kRes = res coker vars R 1 3 3 1 o3 = R <-- R <-- R <-- R <-- 0 0 1 2 3 4 o3 : ChainComplex</pre> </td></tr> <tr><td><pre>i4 : kResS = substitute(kRes, S) 1 3 3 1 o4 = S <-- S <-- S <-- S <-- 0 0 1 2 3 4 o4 : ChainComplex</pre> </td></tr> </table> </div> </div> </div> </body> </html>