Procedures

ProcedureLocationProcedure TypeDescription
anderson_bjorck root_module Subroutine

Compute the zero of the function f(x) in the interval ax,bx using the Anderson-Bjorck method.

Read more…
anderson_bjorck_king root_module Subroutine

Modified anderson-bjorck-king method. Same as anderson_bjorck, but with an extra initial bisection step.

Read more…
barycentric root_module Subroutine

Barycentric interpolation method.

Read more…
bdqrf root_module Subroutine

Bisected Direct Quadratic Regula Falsi (BDQRF) root solver method to find the root of a 1D function.

Read more…
bisect root_module Function

Bisection step.

bisection root_module Subroutine

Compute the zero of the function f(x) in the interval ax,bx using the bisection method.

Read more…
blendtf root_module Subroutine

BlendTF blended method of trisection and false position methods.

Read more…
brent root_module Subroutine

Find a zero of the function in the given interval to within a tolerance , where is the relative machine precision defined as the smallest representable number such that .

Read more…
brenth root_module Subroutine

Brent's method with hyperbolic extrapolation.

Read more…
brentq root_module Subroutine

Classic Brent's method to find a zero of the function f on the sign changing interval [ax, bx], but with a different formula for the extrapolation step.

Read more…
chandrupatla root_module Subroutine

Chandrupatla's method.

Read more…
choose_best root_module Subroutine

Given two points with two function evaluations, choose the best one (the one closest to the root).

converged root_module Function

Determines convergence in x based on if the reltol or abstol is satisfied.

get_fa_fb root_module Subroutine

Returns the function values at ax and bx to start the root finding algorithm.

illinois root_module Subroutine

Illinois method.

Read more…
initialize_root_solver root_module Subroutine

Initialize the root_solver class.

Read more…
itp root_module Subroutine

Compute the zero of the function f(x) in the interval ax,bx using the Interpolate Truncate and Project (ITP) method.

Read more…
itp_optional_inputs root_module Subroutine

For the itp method, set the optional inputs.

lowercase root_module Function

lowercase a string.

muller root_module Subroutine

Improved Muller method (for real roots only). Will fall back to bisection if any step fails.

Read more…
pegasus root_module Subroutine

Pegasus method to find a root of f(x).

Read more…
regula_falsi root_module Subroutine

Compute the zero of the function f(x) in the interval ax,bx using the regula falsi method.

regula_falsi_step root_module Function

Regula Falsi step. With a protection to fall back to bisection if:

Read more…
ridders root_module Subroutine

Ridders method to find a root of f(x).

Read more…
root_name_to_method root_module Function

Convert a root method name to the corresponding root_method enum type.

root_scalar root_module Interface
root_scalar_by_name root_module Subroutine

Non-object-oriented wrapper.

root_scalar_by_type root_module Subroutine

Non-object-oriented wrapper.

secant root_module Function

Secent step. With a protection to fall back to bisection if:

Read more…
solution root_module Function

Returns true if this is a solution and sets xzero and fzero.

solve root_module Subroutine

Main wrapper routine for all the methods.

swap root_module Subroutine

Swap two real(wp) values.

toms748 root_module Subroutine

TOMS748 rootfinding method.

Read more…
zhang root_module Subroutine

Zhang's method (with corrections from Stage).

Read more…
call~~graph~~CallGraph interface~root_scalar root_module::root_scalar proc~root_scalar_by_name root_module::root_scalar_by_name interface~root_scalar->proc~root_scalar_by_name proc~root_scalar_by_type root_module::root_scalar_by_type interface~root_scalar->proc~root_scalar_by_type proc~anderson_bjorck root_module::anderson_bjorck_solver%anderson_bjorck proc~choose_best root_module::choose_best proc~anderson_bjorck->proc~choose_best proc~converged root_module::root_solver%converged proc~anderson_bjorck->proc~converged proc~secant root_module::secant proc~anderson_bjorck->proc~secant proc~solution root_module::root_solver%solution proc~anderson_bjorck->proc~solution f f proc~anderson_bjorck->f proc~anderson_bjorck_king root_module::anderson_bjorck_king_solver%anderson_bjorck_king proc~bisect root_module::bisect proc~anderson_bjorck_king->proc~bisect proc~anderson_bjorck_king->proc~choose_best proc~anderson_bjorck_king->proc~converged proc~anderson_bjorck_king->proc~secant proc~anderson_bjorck_king->proc~solution proc~anderson_bjorck_king->f proc~barycentric root_module::barycentric_solver%barycentric proc~barycentric->proc~choose_best proc~barycentric->proc~converged proc~barycentric->proc~solution proc~barycentric->f proc~bdqrf root_module::bdqrf_solver%bdqrf proc~bdqrf->proc~bisect proc~bdqrf->proc~choose_best proc~bdqrf->proc~converged proc~bdqrf->proc~solution proc~bdqrf->f proc~bisection root_module::bisection_solver%bisection proc~bisection->proc~bisect proc~bisection->proc~choose_best proc~bisection->proc~converged proc~bisection->proc~solution proc~bisection->f proc~blendtf root_module::blendtf_solver%blendtf proc~blendtf->proc~choose_best proc~blendtf->proc~converged proc~blendtf->proc~solution proc~blendtf->f proc~brent root_module::brent_solver%brent proc~brent->f proc~brenth root_module::brenth_solver%brenth proc~brenth->f proc~brentq root_module::brentq_solver%brentq proc~brentq->f proc~chandrupatla root_module::chandrupatla_solver%chandrupatla proc~chandrupatla->proc~solution proc~chandrupatla->f proc~get_fa_fb root_module::root_solver%get_fa_fb proc~illinois root_module::illinois_solver%illinois proc~illinois->proc~choose_best proc~illinois->proc~converged proc~regula_falsi_step root_module::regula_falsi_step proc~illinois->proc~regula_falsi_step proc~illinois->proc~solution proc~illinois->f proc~initialize_root_solver root_module::root_solver%initialize_root_solver proc~itp root_module::itp_solver%itp proc~itp->proc~bisect proc~itp->proc~choose_best proc~itp->proc~converged proc~itp->proc~solution proc~itp->f proc~itp_optional_inputs root_module::itp_solver%itp_optional_inputs proc~lowercase root_module::lowercase proc~muller root_module::muller_solver%muller proc~muller->proc~bisect proc~muller->proc~choose_best proc~muller->proc~converged proc~muller->proc~solution proc~muller->f proc~pegasus root_module::pegasus_solver%pegasus proc~pegasus->proc~choose_best proc~pegasus->proc~converged proc~pegasus->proc~secant proc~pegasus->proc~solution proc~pegasus->f proc~regula_falsi root_module::regula_falsi_solver%regula_falsi proc~regula_falsi->proc~choose_best proc~regula_falsi->proc~converged proc~regula_falsi->proc~regula_falsi_step proc~regula_falsi->proc~solution proc~regula_falsi->f proc~regula_falsi_step->proc~bisect proc~ridders root_module::ridders_solver%ridders proc~ridders->proc~bisect proc~ridders->proc~converged proc~ridders->proc~solution proc~ridders->f proc~root_name_to_method root_module::root_name_to_method proc~root_name_to_method->proc~lowercase proc~root_scalar_by_name->interface~root_scalar proc~root_scalar_by_name->proc~root_name_to_method proc~root_scalar_by_type->proc~initialize_root_solver proc~solve root_module::root_solver%solve proc~root_scalar_by_type->proc~solve proc~secant->proc~bisect proc~solve->interface~root_scalar proc~solve->proc~get_fa_fb proc~solve->proc~solution find_root find_root proc~solve->find_root proc~swap root_module::swap proc~toms748 root_module::toms748_solver%toms748 proc~toms748->f proc~zhang root_module::zhang_solver%zhang proc~zhang->proc~bisect proc~zhang->proc~choose_best proc~zhang->proc~converged proc~zhang->proc~secant proc~zhang->proc~solution proc~zhang->proc~swap proc~zhang->f
Help