Difference between revisions of "Bfgs upd.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
 
(sync with Spinach main f053e432: restore the Outputs section and header indentation from the source comment block)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:bfgs_upd.m}} __NOTOC__
 
{{DISPLAYTITLE:bfgs_upd.m}} __NOTOC__
−
 
 
Performs a one-step BFGS Hessian update for maximisation using
 
Performs a one-step BFGS Hessian update for maximisation using
 
the argument and gradient increments from the previous step.
 
the argument and gradient increments from the previous step.
Line 8: Line 7:
 
  H=bfgs_upd(H,dx,dg)
 
  H=bfgs_upd(H,dx,dg)
  
−
==Arguments==
+
==Parameters==
  
−
H      - current BFGS approximation to the Hessian
+
    H      - current BFGS approximation to the Hessian
 
             matrix corresponding to the *negative*
 
             matrix corresponding to the *negative*
 
             Hessian of the objective; use [] on the
 
             Hessian of the objective; use [] on the
 
             first call
 
             first call
−
 
+
 
     dx    - increment in arguments between the current
 
     dx    - increment in arguments between the current
 
             and the previous step
 
             and the previous step
−
 
+
 
     dg    - increment in gradients between the current
 
     dg    - increment in gradients between the current
 
             and the previous step
 
             and the previous step
  
−
Returns:
+
==Outputs==
  
 
     H      - updated BFGS approximation to the Hessian
 
     H      - updated BFGS approximation to the Hessian
Line 27: Line 26:
 
             Hessian of the objective
 
             Hessian of the objective
  
−
ilya.kuprov@weizmann.ac.il
+
==See also==
 +
[[fmaxnewton.m]], [[lbfgs.m]], [[hessreg.m]], [[bracketing.m]], [[sectioning.m]], [[Optimal_control_module]]
 +
 
 +
''Version 2.11, authors: [[Ilya Kuprov]]''

Latest revision as of 08:36, 30 August 2026

Performs a one-step BFGS Hessian update for maximisation using the argument and gradient increments from the previous step.

Syntax

H=bfgs_upd(H,dx,dg)

Parameters

   H      - current BFGS approximation to the Hessian
            matrix corresponding to the *negative*
            Hessian of the objective; use [] on the
            first call

   dx     - increment in arguments between the current
            and the previous step

   dg     - increment in gradients between the current
            and the previous step

Outputs

   H      - updated BFGS approximation to the Hessian
            matrix corresponding to the *negative*
            Hessian of the objective

See also

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

Version 2.11, authors: Ilya Kuprov