Bracket the minimum of the function.
Given a function and distinct initial points, search in the downhill direction (as defined by the initital points) and return new points xa, xb, xc that bracket the minimum of the function f(xa) > f(xb) < f(xc). It doesn’t always mean that obtained solution will satisfy xa<=x<=xb
Parameters : | func : callable f(x,*args)
xa, xb : float, optional
args : tuple, optional
grow_limit : float, optional
maxiter : int, optional
|
---|---|
Returns : | xa, xb, xc : float
fa, fb, fc : float
funcalls : int
|