benchmarkfcns.multifidelity.rastrigin

benchmarkfcns.multifidelity.rastrigin(arg0: Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]', 'flags.c_contiguous']) Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]']

Computes the value of the multi-fidelity Rastrigin function. SCORES = rastrigin(X) computes the value of the Rastrigin function at point X. multifidelity.rastrigin accepts a matrix of size M-by-N and returns a matrix SCORES of size M-by-2.

Mathematical Definition

Visualization

rastrigin landscape