Expand description
A trait for a constraint function which should be positive eventually
A constraint function takes the form of a closure f(x: &[f64]) -> f64
The algorithm makes the constraint positive eventually.
For instance if you want an upper bound MAX for x,
you have to define the constraint as |x| MAX - x.
Conversly for a lower bound you would define |x| x - MIN
x- n-dimensional array