Description Usage Arguments Details Value Examples
This function is a classic benchmark function for testing optimization algorithms.
1 | ackley(x)
|
x |
vector for calculating the Ackley function value. |
Function has many local minima and represents a threat for almost any optimization algorithm. The recommended values for the parameters are used, with a=20, b=0.2 and c=2*pi. Usually x_i is set between [-32,32] for each i, but can also be restricted to a smaller domain.
If x is a vector, returns the Ackley function value corrisponding to this vector. If is a matrix, returns the value of the function applied on each row vector.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.