ij.measure
public interface UserFunction
Modifier and Type | Method and Description |
---|---|
double |
userFunction(double[] params,
double x)
A user-supplied function
|
double userFunction(double[] params, double x)
params
- When minimizing, array of variables.
For curve fit array of fit parameters.
The array contents should not be modified.
Note that the function can get an array with more
elements then needed to specify the parameters.
Ignore the rest (and don't modify them).x
- For a fit function, the independent variable of the function.
Ignore it when using the minimizer.