[][src]Trait opencv::hub_prelude::MinProblemSolver_Function

pub trait MinProblemSolver_Function {
    pub fn as_raw_MinProblemSolver_Function(&self) -> *const c_void;
pub fn as_raw_mut_MinProblemSolver_Function(&mut self) -> *mut c_void; pub fn get_dims(&self) -> Result<i32> { ... }
pub fn get_gradient_eps(&self) -> Result<f64> { ... }
pub fn calc(&self, x: &f64) -> Result<f64> { ... }
pub fn get_gradient(&mut self, x: &f64, grad: &mut f64) -> Result<()> { ... } }

Represents function being optimized

Required methods

Loading content...

Provided methods

pub fn get_dims(&self) -> Result<i32>[src]

pub fn get_gradient_eps(&self) -> Result<f64>[src]

pub fn calc(&self, x: &f64) -> Result<f64>[src]

pub fn get_gradient(&mut self, x: &f64, grad: &mut f64) -> Result<()>[src]

Loading content...

Implementors

Loading content...