<A NAME=ALLFAC>
<TITLE>ALLFAC</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>ALLFAC</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>switch</B><P>
<P>
<P>
<P>
The <em>allfac</em> switch, when on, causes REDUCE to factor out automatically
common products in the output of expressions. Default is <em>on</em>.
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
x + x*y**3 + x**2*cos(z);
3
X*(COS(Z)*X + Y + 1)
off allfac;
x + x*y**3 + x**2*cos(z);
2 3
COS(Z)*X + X*Y + X
</TT></PRE><P>The <em>allfac</em> switch has no effect when <em>pri</em> is off.
Although the
switch setting stays as it was, printing behavior is as if it were off.
<P>
<P>
<P>