Bounded minimization for scalar functions.
Parameters : | func : callable f(x,*args)
x1, x2 : float or array scalar
args : tuple, optional
xtol : float, optional
maxfun : int, optional
full_output : bool, optional
disp : int, optional
|
---|---|
Returns : | xopt : ndarray
fval : number
ierr : int
numfunc : int
|
See also
Notes
Finds a local minimizer of the scalar function func in the interval x1 < xopt < x2 using Brent’s method. (See brent for auto-bracketing).