Class GradientFunction
java.lang.Object
org.hipparchus.analysis.differentiation.GradientFunction
- All Implemented Interfaces:
MultivariateVectorFunction
Class representing the gradient of a multivariate function.
The vectorial components of the function represent the derivatives with respect to each function parameters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
value
(double[] point) Compute the value for the function at the given point.
-
Constructor Details
-
GradientFunction
Simple constructor.- Parameters:
f
- underlying real-valued function
-
-
Method Details
-
value
public double[] value(double[] point) Compute the value for the function at the given point.- Specified by:
value
in interfaceMultivariateVectorFunction
- Parameters:
point
- point at which the function must be evaluated- Returns:
- function value for the given point
-