Skip to content

Commit

Permalink
itp recommended method
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-rs committed Aug 14, 2023
1 parent 72998dd commit 706111b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ solver = solve(probN, NewtonRaphson(), abstol = 1e-9)
f(u, p) = u .* u .- 2.0
u0 = (1.0, 2.0) # brackets
probB = IntervalNonlinearProblem(f, u0)
sol = solve(probB, Falsi())
sol = solve(probB, ITP())
```

## v1.0 Breaking Release Highlights!
Expand Down
2 changes: 1 addition & 1 deletion docs/src/solvers/BracketingSolvers.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Solves for ``f(t)=0`` in the problem defined by `prob` using the algorithm

## Recommended Methods

`ITP()` is the recommended method for the scalar interval root-finding problems.
`ITP()` is the recommended method for the scalar interval root-finding problems. It is particularly well-suited for cases where the function is smooth and well-behaved; and achieved superlinear convergence while retaining the optimal worst-case performance of the Bisection method. For more details, consult the detailed solver API docs.
`Falsi()` can have a faster convergence and is discretely differentiable, but is
less stable than `Bisection`.
`Ridder` is a hybrid method that uses the value of function at the midpoint of the interval to perform an exponential interpolation to the root. This gives a fast convergence with a guaranteed convergence of at most twice the number of iterations as the bisection method.
Expand Down

0 comments on commit 706111b

Please sign in to comment.