- All Known Subinterfaces:
- All Known Implementing Classes:
- Arctangent, ChiSquaredFitter, ChiSquaredFitter2D, Constant, ConstrainableFunction, Cosine, Cubic, Fitter, Gaussian, Linear, Quadratic, Sine, Sum2D, Tangent
public interface Function
A contract with functions that want to participate in optimization.
Function parameters are provided as an array of delegates. To set the parameters prior to calculating the value of the fuction one must call
Parameter.set(double)which sets member fields using reflection. Once all the parameters have been set,
calculate(double)returns the value of the function at the given coordinate.