brent-search-2.0.1
توضیحات
Brent''s method for univariate function optimization
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | brent-search-2.0.1 |
| نام | brent-search |
| نسخه کتابخانه | 2.0.1 |
| نگهدارنده | ['Danilo Horta'] |
| ایمیل نگهدارنده | ['horta@ebi.ac.uk'] |
| نویسنده | Danilo Horta |
| ایمیل نویسنده | horta@ebi.ac.uk |
| آدرس صفحه اصلی | https://github.com/limix/brent-search |
| آدرس اینترنتی | https://pypi.org/project/brent-search/ |
| مجوز | MIT |
# brent-search
Brent's method for univariate function optimization.
## Example
```python
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
```python
(0.0, -0.8, 6)
```
## Install
From command line, enter
```bash
pip install brent-search
```
## Testing
```python
python -c "import brent_search; brent_search.test()"
```
## Documentation
[Documentation](https://brent-search.readthedocs.io/en/latest/)
## Authors
* [Danilo Horta](https://github.com/horta)
## Acknowledgements
- http://people.sc.fsu.edu/~jburkardt/c_src/brent/brent.c
- Numerical Recipes 3rd Edition: The Art of Scientific Computing
- https://en.wikipedia.org/wiki/Brent%27s_method
## License
This project is licensed under the [MIT License](https://raw.githubusercontent.com/limix/brent-search/master/LICENSE.md).
نیازمندی
| مقدار | نام |
|---|---|
| >=1.14.5 | numpy |
| >=6.0.0 | pytest |
نحوه نصب
نصب پکیج whl brent-search-2.0.1:
pip install brent-search-2.0.1.whl
نصب پکیج tar.gz brent-search-2.0.1:
pip install brent-search-2.0.1.tar.gz