pub trait MinProblemSolver_FunctionConst {
    fn as_raw_MinProblemSolver_Function(&self) -> *const c_void;

    fn get_dims(&self) -> Result<i32> { ... }
    fn get_gradient_eps(&self) -> Result<f64> { ... }
    fn calc(&self, x: &f64) -> Result<f64> { ... }
}
Expand description

Represents function being optimized

Required Methods§

Provided Methods§

Implementors§