This is the Rastrigin function.
The function is borrowed from here. Although the function accepts a vector with an arbitrary number of inputs, this is what it looks like in 2D:
The bounds of the canonical sphere optimization problem are infinite.
impl NDimensional for Rastrigin[src]
impl SingleObjective for Rastrigin[src]
The global minimum is constant and zero
Function for evaluating
This function returns the minimizer (argument that will return the global minimum
fn check_minimizer(d: usize)[src]
impl UnConstrained for Rastrigin[src]
impl RefUnwindSafe for Rastrigin
impl UnwindSafe for Rastrigin
type Error = Infallible
The type returned in the event of a conversion error.