File r37/lisp/csl/html/r37_0097.html artifact 343ce9eae1 part of check-in 52fc28dabe



<A NAME=PLUS>

<TITLE>PLUS</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>



<B>PLUS</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
The <em>plus</em> operator is both an infix and prefix n-ary addition 
operator. It exists because of the way in which REDUCE handles such 
operators internally, and is not recommended for use in algebraic mode 
programming. 
<A HREF=r37_0027.html>plussign</A>, which has the identical effect, should be 
used instead. 
 <P> <H3> 
syntax: </H3>
<P>
<P>
<em>plus</em>(&lt;expression&gt;,&lt;expression&gt;{,&lt;expression&gt;} 
*) or 
<P>
<P>
&lt;expression&gt; <em>plus</em> &lt;expression&gt; {<em>plus</em> &lt;expressio
n&gt;}* 
<P>
<P>
<P>
&lt;expression&gt; can be any valid REDUCE expression, including matrix 
expressions of the same dimensions. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
a plus b plus c plus d; 

  A + B + C + D 


4.5 plus 10; 

  29
  -- 
  2



plus(x**2,y**2); 

   2    2
  X  + Y

</TT></PRE><P>

REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]