Function quadratic_extremum

Function Documentation

pair<double, double> quadratic_extremum(double x1, double x2, double x3, double y1, double y2, double y3)

extremum finding by quadratic approximation

Parameters:

x1, y1, x2, y2, x3, y3 – are the three points used to obtain a parabolic approximation around them

Returns:

(xmin, ymin): the pair of the approximate minimum !