| Constructor and Description |
|---|
NonLinearSolver(Function funct) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateDerivatives() |
double |
calculateErrors()
returns the cumulative error for current values
|
void |
fitData()
Main routine, call this and the Parameters are iterated until it is finished.
|
double[] |
getParameters()
Gets the current set of parameters values.
|
double[] |
getUncertainty() |
void |
initializeWorkspace() |
double |
iterateValues()
Takes the current error, and the current parameter set and calculates the
changes, then returns the maximum changed value
|
void |
iterateValuesB() |
void |
setData(double[][] xvalues,
double[] zvalues)
Sets the values of of the original data points that are going to be fit.
|
void |
setMinChange(double change)
When the parameters change less than the change parameter the program will stop iterating
|
void |
setMinError(double error) |
void |
setParameters(double[] parameters) |
void |
setStepSize(double step) |
public NonLinearSolver(Function funct)
public void setData(double[][] xvalues,
double[] zvalues)
public void setParameters(double[] parameters)
setParameters in interface Fitterpublic double calculateErrors()
calculateErrors in interface Fitterpublic void calculateDerivatives()
public double iterateValues()
public void iterateValuesB()
public void initializeWorkspace()
public void fitData()
public double[] getParameters()
getParameters in interface Fitterpublic double[] getUncertainty()
getUncertainty in interface Fitterpublic void setStepSize(double step)
public void setMinError(double error)
public void setMinChange(double change)
change - Copyright © 2016. All rights reserved.