cv.DownhillSolver/DownhillSolver - MATLAB File Help |
Creates a DownhillSolver object
solver = cv.DownhillSolver()
solver = cv.DownhillSolver('OptionName', optionValue, ...)
calc
method. It should receive a vector of the specified
dimension, and return a scalar value of the objective
function evaluated at that point.[1, 1, 0.0]
.struct('type','Count+EPS', 'maxCount',5000, 'epsilon',1e-6)
All the parameters are optional, so this procedure can be called
even without parameters at all. In this case, the default values
will be used. As default value for terminal criteria are the
only sensible ones, ObjectiveFunction
and InitStep
should be
set upon the obtained object, if the respective parameters were
not given in the constructor. Otherwise, the two ways (give them
to ctor or miss them out and set the ObjectiveFunction
and
InitStep
properties) are absolutely equivalent (and will drop
the same errors in the same way, should invalid input be
detected).