update_hess_vec: Update Hessian-vector product (SQN)

Description Usage Arguments Value

View source: R/optimizers_free.R

Description

Update the (expected) values of the Hessian-vector product in an 'SQN_free' object, after it has been requested by the optimizer (do NOT update it otherwise).

Usage

1
update_hess_vec(optimizer, hess_vec)

Arguments

optimizer

An 'SQN_free' optimizer which after the last run had requested a new Hessian-vector evaluation.

hess_vec

The (expected) value of the Hessian evaluated at the values of 'x' that were returned in the request, multiplied by the vector that was returned in the same request. Must be a numeric vector.

Value

No return value (object is updated in-place).


stochQN documentation built on Sept. 26, 2021, 9:07 a.m.