| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Math.Roots.Bisection
Contents
Description
Root finding using the bisection method.
- findRoot :: (Fractional a, Num a, Ord a) => Int -> a -> RootFinder a
Functions.
Arguments
| :: (Fractional a, Num a, Ord a) | |
| => Int | Maximum number of bisections. |
| -> a | Absolute error tolerance. |
| -> RootFinder a | The root finder. |
Find a root using the bisection method. | | Reference: William H. Press, Saul A. Teukolsky, William T. Vetterling, and Brian P. Flannery, Numerical Recipes in C: The Art of Scientific Computing>, Second Edition (New York: Cambridge Univ. Press, 1992).