Constructor and Description |
---|
SolverLSM()
Constructor for the SolverLSM object
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
MAIN for debugging
|
boolean |
solve(DataStore ds,
ModelFunction mf,
double[] a_ini,
double[] a_err_ini,
boolean[] a_use)
Solve the fitting problem.
|
public boolean solve(DataStore ds, ModelFunction mf, double[] a_ini, double[] a_err_ini, boolean[] a_use)
solve
in interface FitSolver
ds
- The data for fitting.a_ini
- The initial values of the parameters.a_err_ini
- The parameter values' errors.a_use
- The mask array specifying if the parameter will be used in
fitting.mf
- The model functionpublic static void main(java.lang.String[] args)
args
- The array of strings as parameters