|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.optimization.fitting.PolynomialFitter.ParametricPolynomial
private static class PolynomialFitter.ParametricPolynomial
Dedicated parametric polynomial class.
Constructor Summary | |
---|---|
private |
PolynomialFitter.ParametricPolynomial()
|
Method Summary | |
---|---|
double[] |
gradient(double x,
double[] parameters)
Compute the gradient of the function with respect to its parameters. |
double |
value(double x,
double[] parameters)
Compute the value of the function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private PolynomialFitter.ParametricPolynomial()
Method Detail |
---|
public double[] gradient(double x, double[] parameters) throws FunctionEvaluationException
gradient
in interface ParametricRealFunction
x
- the point for which the function value should be computedparameters
- function parameters
FunctionEvaluationException
- if the function evaluation failspublic double value(double x, double[] parameters)
value
in interface ParametricRealFunction
x
- the point for which the function value should be computedparameters
- function parameters
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |