SimpleRoots.jl

SimpleRoots.SecantType
Secant(bracket)
Secant(bracket...)

Secant method of bracketed root-finding.

Bracket can be a length 2 vector, a tuple or 2 argument

source
SimpleRoots.findzeroMethod
findzero(f, bracket; atol=1e-7, max_iter=100)
findzero(f, method::AbstractBisection; atol=1e-7, max_iter=100)

Find roots using the passed in method. If a bracket is passed in without specifying the method, use the Secant method.

source
SimpleRoots.findzeroMethod
findzero(f, method::Bisection, atol, max_iter)
findzero(f, method::Bisection; atol=1e-7, max_iter=100)

Find root using the bisection method.

source
SimpleRoots.findzeroMethod
findzero(f, method::Brent, atol, maxiter)
findzero(f, method::Brent; atol=1e-7, max_iter=100)

Find root using Brents method. Returns a tuple of the found value and a Bool specifying wether the root was found within the tolerance, or not.

source
SimpleRoots.findzeroMethod
findzero(f, method::Secant, atol, max_iter)
findzero(f, method::Secant; atol=1e-7, max_iter=100)

Find root using the secant method.

source