lbfgsb.ackley#

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

The Ackley function.

Parameters:

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

Returns:

The value of the Ackley function.

Return type:

float