ParametricUnivariateFunction
public static class PolynomialFunction.Parametric extends Object implements ParametricUnivariateFunction
Constructor | Description |
---|---|
Parametric() |
Modifier and Type | Method | 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 MathIllegalArgumentException
value
in interface ParametricUnivariateFunction
x
- Point for which the function value should be computed.parameters
- Function parameters.MathIllegalArgumentException
Copyright © 2016–2018 Hipparchus.org. All rights reserved.