Bounded minimization for scalar functions.
Parameters : | func : callable f(x,*args)
x1, x2 : float or array scalar
args : tuple
xtol : float
maxfun : int
full_output : bool
disp : int
|
---|---|
Returns : | xopt : ndarray
fval : number
ierr : int
numfunc : int
|
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).