This is the Rosenbrock 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:
impl Bounded for Rosenbrock[src]
The bounds of the canonical sphere optimization problem are infinite.
impl NDimensional for Rosenbrock[src]
impl SingleObjective for Rosenbrock[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 Rosenbrock[src]
impl RefUnwindSafe for Rosenbrock
impl Send for Rosenbrock
impl Sync for Rosenbrock
impl Unpin for Rosenbrock
impl UnwindSafe for Rosenbrock
type Error = Infallible
The type returned in the event of a conversion error.