Artifact bb51a6fc769bd6a3930d7a8b6f04e0ed8b5dfebf0d63d9c18f4ec945de880a3c:
- Executable file
r37/lisp/csl/html/r37_0436.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1330) [annotate] [blame] [check-ins using] [more...]
<A NAME=REALROOTS> <TITLE>REALROOTS</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>REALROOTS</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> The operator <em>realroots</em> finds that real roots of a polynomial to an accuracy that is sufficient to separate them and which is a minimum of 6 decimal places. <P> <P> <P> <H3> syntax: </H3> <em>realroots</em>(<p>) or <P> <P> <em>realroots</em>(<p>,<from>,<to>) <P> <P> <P> where <p> is a univariate polynomial. The optional parameters <from> and <to> classify an interval: if given, exactly the real roots in this interval will be returned. <from> and <to> can also take the values <em>infinity</em> or <em>-infinity</em>. If omitted all real roots will be returned. Result is a <A HREF=r37_0053.html>list</A> of equations which represent the roots of the polynomial at the given accuracy. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> realroots(x^5-2); {x=1.1487} realroots(x^3-104*x^2+403*x-300,2,infinity); {x=3.0,x=100.0} realroots(x^3-104*x^2+403*x-300,-infinity,2); {x=1} </TT></PRE><P>The minimal accuracy of the result values is controlled by <A HREF=r37_0437.html>rootacc</A>. <P> <P>