hessreg.m

From Spinach Documentation Wiki
Revision as of 19:37, 6 June 2026 by Kuprov (talk | contribs) (Update function See also links and function index membership)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RFO regularisation for Newton-Raphson Hessian and gradient pairs.

Syntax

    [H,data]=hessreg(spin_system,H,g,data)

Parameters

  H    - Hessian matrix to be regularised

  g    - gradient computed at the same point as H

  data - diagnostic data structure

Returns

  H    - regularised Hessian

  data - updated diagnostic data structure with
         data.count.rfo incremented by the number
         of RFO iterations taken

See also

bracketing.m, sectioning.m, fmaxnewton.m, lbfgs.m, bfgs_upd.m, Optimal_control_module

Version 2.2, authors: David Goodwin, Ilya Kuprov