Optimization (cmlabs.optimize)
The cmlabs.optimize module provides a collection of optimization algorithms.
Optimization
Find the root brackets of a function. |
|
Bisection method for finding roots. |
|
Newton's method for finding roots. |
|
Secant method for finding roots. |
Tests
Test the root finding function. |
|
Test the find_root_brackets function from the documentation example. |
|
Test the bisect function from the documentation example. |
|
Test the newton function from the documentation example. |
|
Test the secant function from the documentation example. |