benchmarkfcns.xinsheyangn1¶
- benchmarkfcns.xinsheyangn1(arg0: Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]', 'flags.c_contiguous']) Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]']¶
Computes the value of the Xin-She Yang function. SCORES = xinsheyang1(X) computes the value of the Xin-She Yang function at point X. xinsheyang1 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. Properties:
Global minimum: 0
Location of global minimum: (0, 0, …, 0)
Number of dimensions: n (Scalable)
Recommended domain: x_i ∈ [-5, 5]
Number of local minima: 0
Number of global minima: 1
Convexity: convex
Separability: separable
Modality: Unimodal
Symmetry: Symmetric
Differentiable: No
For more information, please visit: benchmarkfcns.info/doc/xinsheyangn1fcn
Mathematical Definition
\[f(\mathbf x)=f(x_1, ...,x_n)=\sum_{i=1}^{n}\epsilon_i|x_i|^i\]
Visualization