File r37/lisp/csl/html/r37_0077.html artifact be53420677 part of check-in f2fda60abd



<A NAME=DIFFERENCE>

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



<B>DIFFERENCE</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
The <em>difference</em> operator may be used as either an infix or prefix binary
 
subtraction operator. It is identical to <em>-</em> as a binary operator. 
<P>
<P>
 <P> <H3> 
syntax: </H3>
<em>difference</em>(&lt;expression&gt;,&lt;expression&gt;) or 
<P>
<P>
&lt;expression&gt; <em>difference</em> &lt;expression&gt; 
 {<em>difference</em> &lt;expression&gt;}* 
<P>
<P>
<P>
&lt;expression&gt; can be a number or any other valid REDUCE expression. Matrix 

expressions are allowed if they are of the same dimensions. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>

difference(10,4); 

  6 



15 difference 5 difference 2; 

  8 



a difference b; 

  A - B

</TT></PRE><P>The <em>difference</em> operator is left associative, as shown in 
the second 
example above. 
<P>
<P>
<P>
<P>


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