[Haskell-cafe] How to use roots package?

Artyom Kazak artyom.kazak at gmail.com
Sat Mar 19 00:39:01 CET 2011

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 function?

Thanks in advance.
— Artyom.

More information about the Haskell-Cafe mailing list