Class ObjectiveFunctionGradient
- java.lang.Object
-
- org.apache.commons.math3.optim.nonlinear.scalar.ObjectiveFunctionGradient
-
- All Implemented Interfaces:
OptimizationData
public class ObjectiveFunctionGradient extends java.lang.Object implements OptimizationData
Gradient of the scalar function to be optimized.- Since:
- 3.1
-
-
Field Summary
Fields Modifier and Type Field Description private MultivariateVectorFunction
gradient
Function to be optimized.
-
Constructor Summary
Constructors Constructor Description ObjectiveFunctionGradient(MultivariateVectorFunction g)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultivariateVectorFunction
getObjectiveFunctionGradient()
Gets the gradient of the function to be optimized.
-
-
-
Field Detail
-
gradient
private final MultivariateVectorFunction gradient
Function to be optimized.
-
-
Constructor Detail
-
ObjectiveFunctionGradient
public ObjectiveFunctionGradient(MultivariateVectorFunction g)
- Parameters:
g
- Gradient of the function to be optimized.
-
-
Method Detail
-
getObjectiveFunctionGradient
public MultivariateVectorFunction getObjectiveFunctionGradient()
Gets the gradient of the function to be optimized.- Returns:
- the objective function gradient.
-
-