:param x: The initial point, that will become a centroid of an initial simplex. After the algorithm will terminate, it will be setted to the
:param x: The initial point, that will become a centroid of an initial simplex. After the algorithm will terminate, it will be setted to the point where the algorithm stops, the point of possible minimum.
point where the algorithm stops, the point of possible minimum.
:return: The value of a function at the point found.
:return: The value of a function at the point found.