public static class PolynomialFunction.Parametric extends Object implements ParametricUnivariateFunction
| Constructor and Description |
|---|
Parametric() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public double[] gradient(double x,
double... parameters)
gradient in interface ParametricUnivariateFunctionx - Point for which the function value should be computed.parameters - Function parameters.public double value(double x,
double... parameters)
throws NoDataException
value in interface ParametricUnivariateFunctionx - Point for which the function value should be computed.parameters - Function parameters.NoDataExceptionCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.