MATLAB File Help: cv.ConjGradSolver/ConjGradSolver Index
cv.ConjGradSolver/ConjGradSolver

Creates an ConjGradSolver object.

solver = cv.ConjGradSolver()
solver = cv.ConjGradSolver('OptionName', optionValue, ...)

Options

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 should be set upon the obtained object, if the function was not given in the constructor. Otherwise, the two ways (submit it to ctor or miss it out and set the ObjectiveFunction property) are absolutely equivalent (and will drop the same errors in the same way, should invalid input be detected).