Struct rgsl::types::multifit_solver::MultiFitFSolver
source · [−]pub struct MultiFitFSolver { /* private fields */ }
Implementations
sourceimpl MultiFitFSolver
impl MultiFitFSolver
sourcepub fn new(
t: &MultiFitFSolverType,
n: usize,
p: usize
) -> Option<MultiFitFSolver>
pub fn new(
t: &MultiFitFSolverType,
n: usize,
p: usize
) -> Option<MultiFitFSolver>
This function returns a pointer to a newly allocated instance of a solver of type T for n observations and p parameters. The number of observations n must be greater than or equal to parameters p.
If there is insufficient memory to create the solver then the function returns a null
pointer and the error handler is invoked with an error code of Value::NoMemory
.
pub fn set(&mut self, f: &mut MultiFitFunction, x: &mut VectorF64) -> Value
pub fn iterate(&mut self) -> Value
pub fn name(&self) -> String
pub fn position(&self) -> VectorF64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MultiFitFSolver
impl !Send for MultiFitFSolver
impl !Sync for MultiFitFSolver
impl Unpin for MultiFitFSolver
impl UnwindSafe for MultiFitFSolver
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more