Difference between revisions of "Hessreg.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Update function See also links and function index membership)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:hessreg.m}} __NOTOC__
 
{{DISPLAYTITLE:hessreg.m}} __NOTOC__
−
 
 
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==
+
==Parameters==
  
−
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==
−
 
+
[[bracketing.m]], [[sectioning.m]], [[fmaxnewton.m]], [[lbfgs.m]], [[bfgs_upd.m]], [[Optimal_control_module]]
−
[[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
 

Latest revision as of 18:37, 6 June 2026

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