File r37/lisp/csl/html/r37_0295.html artifact 935c32aa59 part of check-in a57e59ec0d



<A NAME=HORNER>

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



<B>HORNER</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>switch</B><P>
<P>
 
 <P>
<P>
When the <em>horner</em> switch is on, polynomial expressions are printed 
in Horner's form for faster and safer numerical evaluation. Default 
is <em>off</em>. The leading variable of the expression is selected as 
Horner variable. To select the Horner variable explicitly use the 

<A HREF=r37_0198.html>korder</A> declaration. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
on horner;

(13p-4q)^3;

           3            2
  ( - 64)*q   + p*(624*q   + p*(( - 2028)*q + p*2197))


korder q;

ws;

        3                  2
  2197*p   + q*(( - 2028)*p   + q*(624*p + q*(-64)))

</TT></PRE><P>

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