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 Details

    • UnivariateObjectiveFunction

      public UnivariateObjectiveFunction(UnivariateFunction f)
      Simple constructor.
      Parameters:
      f - Function to be optimized.
  • Method Details

    • getObjectiveFunction

      public UnivariateFunction getObjectiveFunction()
      Gets the function to be optimized.
      Returns:
      the objective function.