pub trait LMSolver: AlgorithmTrait + LMSolverConst {
fn as_raw_mut_LMSolver(&mut self) -> *mut c_void;
fn set_max_iters(&mut self, max_iters: i32) -> Result<()> { ... }
}
Required Methods§
fn as_raw_mut_LMSolver(&mut self) -> *mut c_void
Provided Methods§
sourcefn set_max_iters(&mut self, max_iters: i32) -> Result<()>
fn set_max_iters(&mut self, max_iters: i32) -> Result<()>
Implementations§
source§impl dyn LMSolver + '_
impl dyn LMSolver + '_
sourcepub fn create(
cb: &Ptr<dyn LMSolver_Callback>,
max_iters: i32
) -> Result<Ptr<dyn LMSolver>>
pub fn create(
cb: &Ptr<dyn LMSolver_Callback>,
max_iters: i32
) -> Result<Ptr<dyn LMSolver>>
Creates Levenberg-Marquard solver
Parameters
- cb: callback
- maxIters: maximum number of iterations that can be further modified using setMaxIters() method.