File r37/lisp/csl/html/r37_0439.html artifact 8984c456af part of check-in f2fda60abd



<A NAME=ROOT_VAL>

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



<B>ROOT\_VAL</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
 <P>
<P>
The operator <em>root_val</em> computes the roots of a 
univariate polynomial at system precision 
(or greater if required for root separation) and presents 
its result as a list of numbers. 
 <P> <H3> 
syntax: </H3>
<P>
<P>
<em>roots</em>(&lt;p&gt;) 
<P>
<P>
<P>
where &lt;p&gt; is a univariate polynomial. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
root_val(x^5-2);

  {-0.929316490603 + 0.6751879524*i,
   -0.929316490603 - 0.6751879524*i,
   0.354967313105 + 1.09247705578*i,
   0.354967313105 - 1.09247705578*i,
   1.148698355}

</TT></PRE><P>

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