This package contains simple routines for finding roots, or zeros, of scalar functions of a single real variable using floating-point math. The find_zero function provides the primary interface. The basic call is find_zero(f, x0, [M], [p]; kws...) where, typically, f is a function, x0 a starting point or bracketing interval, M is used to adjust the default algorithms used, and p can be used to pass in parameters. Bisection-like algorithms. For functions where a bracketing interval is known (one where f(a) and f(b) have alternate signs), a bracketing method, like Bisection, can be specified. The default is Bisection, for most floating point number types, employed in a manner exploiting floating point storage conventions. For other number types (e.g. BigFloat), an algorithm of Alefeld, Potra, and Shi is used by default. These default methods are guaranteed to converge. Other bracketing methods are available.

Features

  • Several derivative-free algorithms
  • Bisection-like algorithms
  • There are historic algorithms that require a derivative or two to be specified
  • There are several non-exported algorithms
  • Each method's documentation has additional detail
  • Automatic derivatives allow for easy solutions to finding critical points of a function

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Roots.jl

Roots.jl Web Site

Other Useful Business Software
Failed Payment Recovery for Subscription Businesses Icon
Failed Payment Recovery for Subscription Businesses

For subscription companies searching for a failed payment recovery solution to grow revenue, and retain customers.

FlexPay’s innovative platform uses multiple technologies to achieve the highest number of retained customers, resulting in reduced involuntary churn, longer life span after recovery, and higher revenue. Leading brands like LegalZoom, Hooked on Phonics, and ClinicSense trust FlexPay to recover failed payments, reduce churn, and increase customer lifetime value.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Roots.jl!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Data Visualization Software

Registered

2023-11-13