Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

161 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

brent-search

Brent's method for univariate function optimization.

Example

from brent_search import brent
def func(x, s):
 return (x - s)**2 - 0.8
r = brent(lambda x: func(x, 0), -10, 10)
print(r)

The output should be

(0.0, -0.8, 6)

Install

From command line, enter

pip install brent-search

Authors

Acknowledgements

License

This project is licensed under the MIT License.

About

Univariate function optimization based on Brent's method.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /