cobyqa.models.Quadratic.hess_prod#

Quadratic.hess_prod(v, interpolation)[source]#

Evaluate the right product of the Hessian matrix of the quadratic model with a given vector.

Parameters:
vnumpy.ndarray, shape (n,)

Vector with which the Hessian matrix of the quadratic model is multiplied from the right.

interpolationcobyqa.models.Interpolation

Interpolation set.

Returns:
numpy.ndarray, shape (n,)

Right product of the Hessian matrix of the quadratic model with v.