raft-0.3.7.0: Miscellaneous Haskell utilities for data structures and data manipulation.

Safe HaskellSafe
LanguageHaskell2010

Math.Roots.Bisection

Contents

Description

Root finding using the bisection method.

Synopsis

Functions.

findRoot Source #

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).