cobyqa.models.Models.ceq_curv#

Models.ceq_curv(v, mask=None)[source]#

Evaluate the curvature of the quadratic models of the nonlinear equality functions along a given direction.

Parameters:
vnumpy.ndarray, shape (n,)

Direction along which the curvature of the quadratic models of the nonlinear equality functions is evaluated.

masknumpy.ndarray, shape (m_nonlinear_eq,), optional

Mask of the quadratic models to consider.

Returns:
numpy.ndarray

Curvature of the quadratic models of the nonlinear equality functions along v.