Returns the value of x such that func(x) is minimised. Uses Brent's method,
which uses a parabolic fit to rapidly approach the minimum but reverts to a
Golden Section search where necessary.
The minimum is located to an accuracy of feqrel(min, truemin) <
real.mant_dig/2.
Find the minimum value of the function func().
Returns the value of x such that func(x) is minimised. Uses Brent's method, which uses a parabolic fit to rapidly approach the minimum but reverts to a Golden Section search where necessary.
The minimum is located to an accuracy of feqrel(min, truemin) < real.mant_dig/2.