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 ParametricUnivariateFunction
x
- Point for which the function value should be computed.parameters
- Function parameters.public double value(double x, double... parameters) throws NoDataException
value
in interface ParametricUnivariateFunction
x
- Point for which the function value should be computed.parameters
- Function parameters.NoDataException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics