File r37/lisp/csl/html/r37_0321.html artifact e18712238a part of check-in a57e59ec0d



<A NAME=RAT>

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



<B>RAT</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>switch</B><P>
<P>
 
 <P>
<P>
When the <em>rat</em> switch is on, and kernels have been selected to display 
with the 
<A HREF=r37_0287.html>factor</A> declaration, the denominator is printed with ea
ch 
term rather than one common denominator at the end of an expression. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
(x+1)/x + x**2/sin y;        
 

                       3
  SIN(Y)*X + SIN(Y) + X
  ---------------------- factor x; 
         SIN(Y)*X


(x+1)/x + x**2/sin y;        
 

   3
  X  + X*SIN(Y) + SIN(Y)
  ---------------------- on rat;  
         X*SIN(Y)


(x+1)/x + x**2/sin y;       
 

     2
    X           -1
  ------ + 1 + X
  SIN(Y)

</TT></PRE><P>The <em>rat</em> switch only has effect when the 
<A HREF=r37_0319.html>pri</A> switch is on. 
When <em>pri</em> is off, regardless of the setting of <em>rat</em>, the 
printing behavior is as if <em>rat</em> were off. <em>rat</em> only has 
effect upon the display of expressions, not their internal form. 
<P>
<P>
<P>


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