Package org.hipparchus.optim.univariate
Class UnivariateObjectiveFunction
- java.lang.Object
-
- org.hipparchus.optim.univariate.UnivariateObjectiveFunction
-
- All Implemented Interfaces:
OptimizationData
public class UnivariateObjectiveFunction extends Object implements OptimizationData
Scalar function to be optimized.
-
-
Constructor Summary
Constructors Constructor Description UnivariateObjectiveFunction(UnivariateFunction f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnivariateFunction
getObjectiveFunction()
Gets the function to be optimized.
-
-
-
Constructor Detail
-
UnivariateObjectiveFunction
public UnivariateObjectiveFunction(UnivariateFunction f)
- Parameters:
f
- Function to be optimized.
-
-
Method Detail
-
getObjectiveFunction
public UnivariateFunction getObjectiveFunction()
Gets the function to be optimized.- Returns:
- the objective function.
-
-