<?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>Power -- the class of all power expressions</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_power.html">next</a> | <a href="_position_lp__Visible__List_cm__Visible__List_cm__Function_rp.html">previous</a> | <a href="_power.html">forward</a> | <a href="_position_lp__Visible__List_cm__Visible__List_cm__Function_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>Power -- the class of all power expressions</h1> <div class="single"><h2>Description</h2> <div><tt>Power</tt> is a type of <a href="___Expression.html" title="the class of all expressions">Expression</a> representing a power.<p/> Normally power expressions with an exponent equal to 1 will not be produced. But it is desirable for <a href="_factor.html" title="factor a ring element or a ZZ-module">factor</a> to return a product of powers, and some of them will have 1 as exponent. The routines for printing of expressions will take this into account, suppress exponents equal to 1, and arrange for parenthesization correctly.</div> </div> <div class="waystouse"><h2>Functions and methods returning a power expression :</h2> <ul><li><span>Expression ^ Expression, see <span><a href="___Expression.html" title="the class of all expressions">Expression</a> -- the class of all expressions</span></span></li> </ul> <h2>Methods that use a power expression :</h2> <ul><li><span>substitute(Power,Thing), see <span><a href="_substitute.html" title="substituting values for variables">substitute</a> -- substituting values for variables</span></span></li> </ul> </div> <div class="waystouse"><h2>For the programmer</h2> <p>The object <a href="___Power.html" title="the class of all power expressions">Power</a> is <span>a <a href="___Header__Type.html">header type</a></span>, with ancestor classes <a href="___Expression.html" title="the class of all expressions">Expression</a> < <a href="___Basic__List.html" title="the class of all basic lists">BasicList</a> < <a href="___Thing.html" title="the class of all things">Thing</a>.</p> </div> </div> </body> </html>