Minimize univariate functions on finite intervals using 3-point quadratic fit, with golden-section safe-guard.
nlm0(fun, range, prec=1e-7)
nlm0
returns a list object with the following elements.
Minimizer.
Minimum.
Number of function evaluations.
Function to be minimized.
Interval on which the function to be minimized.
Desired precision of the solution.