org.apache.commons.math.optimization.fitting
public interface ParametricRealFunction
double value(double x,
double[] parameters)
throws FunctionEvaluationException
x - the point for which the function value should be computedparameters - function parametersFunctionEvaluationException - if the function evaluation failsdouble[] gradient(double x,
double[] parameters)
throws FunctionEvaluationException
x - the point for which the function value should be computedparameters - function parametersFunctionEvaluationException - if the function evaluation failsCopyright (c) 2003-2016 Apache Software Foundation