public class DataFitModel extends FuncRnR1
| Modifier and Type | Field and Description |
|---|---|
double[] |
dataX |
double[] |
dataY |
double[] |
modelY |
double[] |
rse |
| Constructor and Description |
|---|
DataFitModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
extractActiveParameters(double[] x) |
int |
getNoActiveParams() |
int |
getNoPoints() |
double[] |
getParams() |
double |
getRmse() |
void |
init(double[] dataX,
double[] dataY,
double[] params0,
boolean[] isActiveParameter) |
void |
setNoActiveParams(int noActiveParams) |
void |
updateActiveParameters(double[] x) |
public double[] dataX
public double[] dataY
public double[] modelY
public double[] rse
public void init(double[] dataX,
double[] dataY,
double[] params0,
boolean[] isActiveParameter)
dataX - Experimental abscissadataY - Experimental ordinateparams0 - First guess for model parameters and fixed parametersisActiveParameter - Number of parameters to be optimizedpublic void updateActiveParameters(double[] x)
public void extractActiveParameters(double[] x)
public int getNoActiveParams()
public void setNoActiveParams(int noActiveParams)
public int getNoPoints()
public double getRmse()
public double[] getParams()