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 MathIllegalArgumentException
value
in interface ParametricUnivariateFunction
x
- Point for which the function value should be computed.parameters
- Function parameters.MathIllegalArgumentException
Copyright © 2016-2021 CS GROUP. All rights reserved.