lbfgsb.sphere#

lbfgsb.sphere(x: ndarray[tuple[Any, ...], dtype[float64]]) float[source]#

The Sphere function.

Parameters:

x (array_like) – 1-D array of points at which the Sphere function is to be computed.

Returns:

The value of the Sphere function.

Return type:

float