# HG changeset patch
# User Minh Van Nguyen <nguyenminh2@gmail.com>
# Date 1259768715 28800
# Node ID 3b3b56c1866c4402d2f7c9191e18c9a87d7d914a
# Parent 44f70d431d43e3dfaa1487641ee6864d5025fb06
trac 7583: typos in sage.numerical.optimize
diff -r 44f70d431d43 -r 3b3b56c1866c sage/numerical/optimize.py
|
a
|
b
|
|
| 124 | 124 | |
| 125 | 125 | def find_minimum_on_interval(f, a, b, tol=1.48e-08, maxfun=500): |
| 126 | 126 | """ |
| 127 | | Numerically find the minimum of the expression ``self`` on the |
| | 127 | Numerically find the minimum of the expression ``f`` on the |
| 128 | 128 | interval `[a,b]` (or `[b,a]`) and the point at which it attains that |
| 129 | | minimum. Note that ``self`` must be a function of (at most) one |
| | 129 | minimum. Note that ``f`` must be a function of (at most) one |
| 130 | 130 | variable. |
| 131 | 131 | |
| 132 | 132 | |
| 133 | 133 | INPUT: |
| 134 | 134 | |
| | 135 | - ``f`` -- a function of at most one variable. |
| | 136 | |
| 135 | 137 | - ``a``, ``b`` -- endpoints of interval on which to minimize self. |
| 136 | 138 | |
| 137 | 139 | - ``tol`` -- the convergence tolerance |