Difference between revisions of "Hessreg.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
−
{{DISPLAYTITLE:hessreg.m}} __NOTOC__
+
{{DISPLAYTITLE:hessreg.m}}
−
 
 
 
RFO regularisation for Newton-Raphson Hessian and gradient pairs.
 
RFO regularisation for Newton-Raphson Hessian and gradient pairs.
  
 
==Syntax==
 
==Syntax==
  
−
[H,data]=hessreg(spin_system,H,g,data)
+
    [H,data]=hessreg(spin_system,H,g,data)
  
 
==Arguments==
 
==Arguments==
  
−
H    - Hessian matrix to be regularised
+
  H    - Hessian matrix to be regularised
 
   
 
   
 
   g    - gradient computed at the same point as H
 
   g    - gradient computed at the same point as H
Line 15: Line 14:
 
   data - diagnostic data structure
 
   data - diagnostic data structure
  
−
==Outputs==
+
==Returns==
−
 
 
−
H    - regularised Hessian
 
  
 +
  H    - regularised Hessian
 +
 
   data - updated diagnostic data structure with
 
   data - updated diagnostic data structure with
 
           data.count.rfo incremented by the number
 
           data.count.rfo incremented by the number
 
           of RFO iterations taken
 
           of RFO iterations taken
−
 
−
david.goodwin@inano.au.dk
 
−
ilya.kuprov@weizmann.ac.il
 
  
 
==See also==
 
==See also==
−
 
 
[[linesearch.m]], [[fminnewton.m]], [[lbfgs.m]]
 
[[linesearch.m]], [[fminnewton.m]], [[lbfgs.m]]
  
  
 
''Version 2.2, authors: [[David Goodwin]], [[Ilya Kuprov]]''
 
''Version 2.2, authors: [[David Goodwin]], [[Ilya Kuprov]]''
−
 
−
==Returns==
 
−
 
−
H    - regularised Hessian
 
−
 
−
  data - updated diagnostic data structure with
 
−
          data.count.rfo incremented by the number
 
−
          of RFO iterations taken
 

Revision as of 14:48, 5 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, fminnewton.m, lbfgs.m


Version 2.2, authors: David Goodwin, Ilya Kuprov