Difference between revisions of "Hessreg.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Replace obsolete function links)
(See also)
Line 23: Line 23:
  
 
==See also==
 
==See also==
[[linesearch.m]], [[Fmaxnewton.m]], [[lbfgs.m]]
+
[[linesearch.m]], [[fmaxnewton.m]], [[lbfgs.m]]
  
 
''Version 2.2, authors: [[David Goodwin]], [[Ilya Kuprov]]''
 
''Version 2.2, authors: [[David Goodwin]], [[Ilya Kuprov]]''

Revision as of 12:44, 25 April 2026

RFO regularisation for Newton-Raphson Hessian and gradient pairs.

Syntax

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

Arguments

  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

linesearch.m, fmaxnewton.m, lbfgs.m

Version 2.2, authors: David Goodwin, Ilya Kuprov