Types in MathNet.Numerics
Public Static Functions
double Ackley(Double[] x)
Ackley, a function with many local minima. It is nearly flat in outer regions but has a large hole at the center.
Global minimum of all zeros with f(0) = 0.
Common range: [-32.768, 32.768].
double Bohachevsky1(double x, double y)
Bowl-shaped first Bohachevsky function.
Global minimum of all zeros with f(0,0) = 0.
Common range: [-100, 100]
double DropWave(double x, double y)
Drop-Wave, a multi-modal and highly complex function with many local minima.
Global minimum of all zeros with f(0) = -1.
Common range: [-5.12,5.12].
double Himmelblau(double x, double y)
Himmelblau, a multi-modal function: (x,y) -> (x^2+y-11)^2 + (x+y^2-7)^2
This function has 4 global minima with f(x,y) = 0.
Common range: [-6,6].
Named after David Mautner Himmelblau
double Matyas(double x, double y)
Plate-shaped Matyas function.
Global minimum of all zeros with f(0,0) = 0.
Common range: [-10, 10].
double Rastrigin(Double[] x)
Rastrigin, a highly multi-modal function with many local minima.
Global minimum of all zeros with f(0) = 0.
Common range: [-5.12,5.12].
double Rosenbrock(double x, double y)
Valley-shaped Rosenbrock function for 2 dimensions: (x,y) -> (1-x)^2 + 100*(y-x^2)^2.
This function has a global minimum at (1,1) with f(1,1) = 0.
Common range: [-5,10] or [-2.048,2.048].
double Rosenbrock(Double[] x)
Valley-shaped Rosenbrock function for 2 or more dimensions.
This function have a global minimum of all ones and, for 8 > N > 3, a local minimum at (-1,1,...,1).
double SixHumpCamel(double x, double y)
Valley-shaped six-hump camel back function.
Two global minima and four local minima. Global minima with f(x) ) -1.0316 at (0.0898,-0.7126) and (-0.0898,0.7126).
Common range: x in [-3,3], y in [-2,2].