bundles / scipy latest / scipy / optimize / _hessian_update_strategy / HessianUpdateStrategy / update
function
scipy.optimize._hessian_update_strategy:HessianUpdateStrategy.update
Signature
def update ( self , delta_x , delta_grad ) Summary
Update internal matrix.
Extended Summary
Update Hessian matrix or its inverse (depending on how 'approx_type' is defined) using information about the last evaluated points.
Parameters
delta_x: ndarrayThe difference between two points the gradient function have been evaluated at:
delta_x = x2 - x1.delta_grad: ndarrayThe difference between the gradients:
delta_grad = grad(x2) - grad(x1).
Aliases
-
scipy.optimize.HessianUpdateStrategy.update