[Haskell-cafe] How to use roots package?
ekmett at gmail.com
Sun Mar 20 21:26:27 CET 2011
If your function has nice derivatives, you may want to look at the Newton
if you have enough derivatives, you can even move up to the next Householder
method at Numeric.AD.Halley.findZero
These have the benefit of using exact derivatives, and returning a stream of
successively better approximations.
On Fri, Mar 18, 2011 at 7:39 PM, Artyom Kazak <artyom.kazak at gmail.com>wrote:
> Hi Café!
> roots (http://hackage.haskell.org/package/roots) is a package to solve
> equations like "f(x)==0".
> In RootFinder class there is an 'defaultNSteps' value, which is used as
> maximal count of iterations functions like findRoot and traceRoot can make.
> By default it is 250, but sometimes it's not enough. How can I use another
> value instead of 250? Should I write my own RootFinder instance, or findRoot
> Thanks in advance.
> — Artyom.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe