benchmarkfcns.rastrigin_parallel¶
- benchmarkfcns.rastrigin_parallel(arg0: Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]', 'flags.c_contiguous']) Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]']¶
Computes the value of Rastrigin benchmark function using multi-core parallelism. SCORES = rastrigin_parallel(X) computes the value of the Rastrigin function at point X. rastrigin_parallel accepts a matrix of size M-by-N and returns a vector SCORES of size M-by-1 in which each row contains the function value for the corresponding row of X.
Mathematical Definition
Visualization