cobyqa.models.Quadratic.shift_x_base#

Quadratic.shift_x_base(interpolation, new_x_base)[source]#

Shift the point around which the quadratic model is defined.

Parameters:
interpolationcobyqa.models.Interpolation

Previous interpolation set.

new_x_basenumpy.ndarray, shape (n,)

Point that will replace interpolation.x_base.