Artifact 32f7bcc958586b0e20873f5e3c9c4ac20a73433835d5c5b8bf08c1263679b54c:
- Executable file
r37/lisp/csl/html/r37_0085.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1080) [annotate] [blame] [check-ins using] [more...]
<A NAME=EXPT> <TITLE>EXPT</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>EXPT</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> The <em>expt</em> operator is both an infix and prefix binary exponentiation operator. It is identical to <em>^</em> or <em>**</em>. <P> <H3> syntax: </H3> <P> <P> <em>expt</em>(<expression>,<expression>) or <expression> <em>expt</em> <expression> <P> <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> a expt b; B A expt(a,b); B A (x+y) expt 4; 4 3 2 2 3 4 X + 4*X *Y + 6*X *Y + 4*X*Y + Y </TT></PRE><P>Scalar expressions may be raised to fractional and floating-point powers. Square matrix expressions may be raised to positive powers, and also to negative powers if non-singular. <P> <P> <em>expt</em>is left associative. In other words, <em>a expt b expt c</em> is equivalent to <em>a expt (b*c)</em>, not <em>a expt (b expt c)</em>, which would be right associative. <P> <P> <P>