Constructor and Description |
---|
SolverLM()
Constructor for the SolverLM object
|
Modifier and Type | Method and Description |
---|---|
int |
getIterLimit()
Description of the Method
|
double |
getLambdaFactor()
Gets the lambdaFactor attribute of the SolverLM object
|
double |
getLambdaIni()
Gets the lambdaIni attribute of the SolverLM object
|
double |
getLambdaMax()
Gets the lambdaMax attribute of the SolverLM object
|
double |
getToll()
Gets the toll attribute of the SolverLM object
|
static void |
main(java.lang.String[] args)
MAIN for debugging
|
void |
setIterLimit(int total_iter_limit)
Sets the iterLimit attribute of the SolverLM object
|
void |
setLambdaFactor(double factor)
Sets the lambdaFactor attribute of the SolverLM object
|
void |
setLambdaIni(double lambda_ini)
Sets the lambdaIni attribute of the SolverLM object
|
void |
setLambdaMax(double lambda_max)
Sets the lambdaMax attribute of the SolverLM object
|
void |
setToll(double eps_toll)
Sets the toll attribute of the SolverLM object
|
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 void setLambdaFactor(double factor)
factor
- The new lambdaFactor valuepublic double getLambdaFactor()
public void setLambdaIni(double lambda_ini)
lambda_ini
- The new lambdaIni valuepublic double getLambdaIni()
public void setLambdaMax(double lambda_max)
lambda_max
- The new lambdaMax valuepublic double getLambdaMax()
public void setToll(double eps_toll)
eps_toll
- The new toll valuepublic double getToll()
public void setIterLimit(int total_iter_limit)
total_iter_limit
- The new iterLimit valuepublic int getIterLimit()
public static void main(java.lang.String[] args)
args
- The array of strings as parameters