-- | The Roots.Simple module contains root-finding algorithms. That
-- is, procedures to (numerically) find solutions to the equation,
-- | The Roots.Simple module contains root-finding algorithms. That
-- is, procedures to (numerically) find solutions to the equation,
-- >>> let f x = x^6 - x - 1
-- >>> let f' x = 6*x^5 - 1
-- >>> tail $ take 4 $ newton_iterations f f' 2
-- >>> let f x = x^6 - x - 1
-- >>> let f' x = 6*x^5 - 1
-- >>> tail $ take 4 $ newton_iterations f f' 2
-- >>> let f x = x^6 - x - 1
-- >>> take 4 $ secant_iterations f 2 1
-- [2.0,1.0,1.0161290322580645,1.190577768676638]
-- >>> let f x = x^6 - x - 1
-- >>> take 4 $ secant_iterations f 2 1
-- [2.0,1.0,1.0161290322580645,1.190577768676638]