pub struct MultiFitFSolver { /* private fields */ }Implementations§
Source§impl 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, ) -> Result<(), Value>
pub fn iterate(&mut self) -> Result<(), Value>
pub fn name(&self) -> String
pub fn position(&self) -> View<'_, VectorF64>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MultiFitFSolver
impl RefUnwindSafe for MultiFitFSolver
impl !Send for MultiFitFSolver
impl !Sync for MultiFitFSolver
impl Unpin for MultiFitFSolver
impl UnwindSafe for MultiFitFSolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more