Expand description
Minimizing a merit over a point the caller is free to choose: the nearest point of a curve or a surface. The point found is a choice, not an enclosure of a true minimum — what it is chosen for is measured at it afterwards — so the merit is a plain number.
Functions§
- descend
- Damped descent from
start, at moststepssteps.direction(x)gives the step fromxas the point it leads to at ascaleof the full step (Nonewhere there is none to take); a step is taken at the first of1, 1/2, 1/4, …(halvingsof them) at which it definitely lowersmerit, and the descent stops where none does. What is returned is never worse thanstart.