<?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>components -- list the components of a direct sum</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_components_lp__Chain__Complex_rp.html">next</a> | <a href="_component_spexample.html">previous</a> | <a href="_components_lp__Chain__Complex_rp.html">forward</a> | <a href="_component_spexample.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>components -- list the components of a direct sum</h1> <div class="single"><h2>Description</h2> <div><tt>components x</tt> -- produces a list of the components of an element of a free module.<br/><tt>components M</tt> -- the list of components for a module <tt>M</tt> which was formed as a direct sum, or <tt>{M}</tt> if <tt>M</tt> was not formed as a direct sum. Works also for homomorphism, chain complexes, and graded modules.</div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_vector.html" title="make a vector">vector</a> -- make a vector</span></li> <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="__pl_pl.html" title="a binary operator, usually used for direct sum">++</a> -- a binary operator, usually used for direct sum</span></li> </ul> </div> <div class="waystouse"><h2>Ways to use <tt>components</tt> :</h2> <ul><li>components(ChainComplexMap)</li> <li>components(GradedModule)</li> <li>components(GradedModuleMap)</li> <li>components(Matrix)</li> <li>components(Module)</li> <li><span><a href="_components_lp__Chain__Complex_rp.html" title="list the components of a direct sum">components(ChainComplex)</a> -- list the components of a direct sum</span></li> </ul> </div> </div> </body> </html>