Difference between revisions of "Objeval.m"
m (Rename Arguments section heading to Parameters) |
(Update function See also links and function index membership) |
||
| Line 32: | Line 32: | ||
==See also== | ==See also== | ||
| − | [[fmaxnewton.m]], [[lbfgs.m]], [[hessreg.m]] | + | [[fmaxnewton.m]], [[lbfgs.m]], [[hessreg.m]], [[alpha_conds.m]], [[aux_mat.m]], [[bfgs.m]], [[cubic_interp.m]], [[dirdiff.m]], [[drifts.m]], [[ensemble.m]], [[hess_reorder.m]], [[optimcon.m]], [[trapdiff.m]], [[Optimal_control_module]] |
''Version 2.2, authors: [[David Goodwin]], [[Ilya Kuprov]]'' | ''Version 2.2, authors: [[David Goodwin]], [[Ilya Kuprov]]'' | ||
Latest revision as of 18:39, 6 June 2026
Calls and collect the correct amount of outputs from an objective function - used by optimisation routines of the optimal control module. this is needed because some outputs of optimal control objective functions are very expensive.
Syntax
[data,fx,grad,hess]=objeval(x,objfun_handle,data,spin_system)
Parameters
x - objective function argument
objfun_handle - handle to the objective function
data - data structure inherited from
fmaxnewton.m
Returns
data - modified data structure with
diagnostics from the objective
fx - objective function value at x
grad - gradient of the objective function
at x
hess - Hessian of the objective function
at x
Notes
This function will be eliminated in a future release.
See also
fmaxnewton.m, lbfgs.m, hessreg.m, alpha_conds.m, aux_mat.m, bfgs.m, cubic_interp.m, dirdiff.m, drifts.m, ensemble.m, hess_reorder.m, optimcon.m, trapdiff.m, Optimal_control_module
Version 2.2, authors: David Goodwin, Ilya Kuprov