单变量根查找方法的python实现
pyroots的Python项目详细描述
摘要
一个python库,为单个变量实现各种根查找方法 功能。
目前已经实现了以下方法:
* The `bisect <http://en.wikipedia.org/wiki/Bisection_method>`_ method. * The `ridder <http://en.wikipedia.org/wiki/Ridders%27_method>`_ method. * The `brent <http://en.wikipedia.org/wiki/Brent%27s_method>`_ method.
关于brent的方法,有两种实现,第一种 使用逆二次外推( brentq ),而其他外推使用 双曲线外推( brenth )。
如果您不知道使用哪种方法,您可能应该使用