Difference between revisions of "Hessreg.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Spot-edit Spinach function page first-line NOTOC and template fields)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     [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

Revision as of 18:49, 5 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

Version 2.2, authors: David Goodwin, Ilya Kuprov