[−][src]Trait cobyla::ObjFn
A trait to represent an objective function to be minimized A trait representing an objective function.
An objective function takes the form of a closure f(x: &[f64], user_data: &mut U) -> f64
x
- n-dimensional arrayuser_data
- user defined data