lbfgsb.rastrigin# lbfgsb.rastrigin(x: ndarray[tuple[Any, ...], dtype[float64]]) → float[source]# The Rastrigin function. Parameters: x (array_like) – 1-D array of points at which the Rastrigin function is to be computed. Returns: The value of the Rastrigin function. Return type: float