cobyqa.models.Quadratic.curv#

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

Evaluate the curvature of the quadratic model along a given direction.

Parameters:
vnumpy.ndarray, shape (n,)

Direction along which the curvature of the quadratic model is evaluated.

interpolationcobyqa.models.Interpolation

Interpolation set.

Returns:
float

Curvature of the quadratic model along v.