Class UnivariatePointValuePair
- java.lang.Object
-
- org.apache.commons.math4.legacy.optim.univariate.UnivariatePointValuePair
-
public class UnivariatePointValuePair extends Object
This class holds a point and the value of an objective function at this point. This is a simple immutable container.- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description UnivariatePointValuePair(double point, double value)
Build a point/objective function value pair.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getPoint()
Get the point.double
getValue()
Get the value of the objective function.
-
-
-
Constructor Detail
-
UnivariatePointValuePair
public UnivariatePointValuePair(double point, double value)
Build a point/objective function value pair.- Parameters:
point
- Point.value
- Value of an objective function at the point
-
-