pub trait DownhillSolverTraitConst: MinProblemSolverTraitConst {
// Required method
fn as_raw_DownhillSolver(&self) -> *const c_void;
// Provided method
fn get_init_step(&self, step: &mut impl ToOutputArray) -> Result<()> { ... }
}Expand description
Constant methods for core::DownhillSolver
Required Methods§
fn as_raw_DownhillSolver(&self) -> *const c_void
Provided Methods§
Sourcefn get_init_step(&self, step: &mut impl ToOutputArray) -> Result<()>
fn get_init_step(&self, step: &mut impl ToOutputArray) -> Result<()>
Returns the initial step that will be used in downhill simplex algorithm.
§Parameters
- step: Initial step that will be used in algorithm. Note, that although corresponding setter accepts column-vectors as well as row-vectors, this method will return a row-vector.
§See also
DownhillSolver::setInitStep
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.