cobyqa.utils.get_arrays_tol#

cobyqa.utils.get_arrays_tol(*arrays)[source]#

Get a relative tolerance for a set of arrays.

Parameters:
*arrays: tuple

Set of numpy.ndarray to get the tolerance for.

Returns:
float

Relative tolerance for the set of arrays.

Raises:
ValueError

If no array is provided.