Next: , Up: Parameter structures   [Index]


10.1 Specify which user functions accept parameter structures

The frontend must be told which user functions accept parameter structures by setting corresponding settings to true. The names of these settings depend on which user functions are applicable to the respective frontend and are shown in the following table.

User functionSettingFrontends
Objective functionobjf_pstructnonlin_min
Gradientgrad_objf_pstructnonlin_min
Hessianhessian_objf_pstructnonlin_min
Model functionf_pstructnonlin_residmin, nonlin_curvefit, residmin_stat, curvefit_stat
Jacobiandf_pstructnonlin_residmin, nonlin_curvefit, residmin_stat, curvefit_stat
General inequality constraintsf_inequc_pstructnonlin_min, nonlin_residmin, nonlin_curvefit
Jacobian of general inequality constraintsdf_inequc_pstructnonlin_min, nonlin_residmin, nonlin_curvefit
General equality constraintsf_equc_pstructnonlin_min, nonlin_residmin, nonlin_curvefit
Jacobian of general equality constraintsdf_equc_pstructnonlin_min, nonlin_residmin, nonlin_curvefit