Struct rgsl::types::multifit_solver::MultiFitFSolver
source · 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
.