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: |
|
---|---|
Returns: | xa, xb, xc, fa, fb, fc, funcalls
|