Class ObjectiveFunctionGradient
- java.lang.Object
-
- org.apache.commons.math4.legacy.optim.nonlinear.scalar.ObjectiveFunctionGradient
-
- All Implemented Interfaces:
OptimizationData
public class ObjectiveFunctionGradient extends Object implements OptimizationData
Gradient of the scalar function to be optimized.- Since:
- 3.1
-
-
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.
-
-
-
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.
-
-