|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.util.Pair<double[],Double>
org.apache.commons.math3.optimization.PointValuePair
@Deprecated public class PointValuePair
This class holds a point and the value of an objective function at that point.
PointVectorValuePair,
MultivariateFunction,
Serialized Form| Constructor Summary | |
|---|---|
PointValuePair(double[] point,
double value)
Deprecated. Builds a point/objective function value pair. |
|
PointValuePair(double[] point,
double value,
boolean copyArray)
Deprecated. Builds a point/objective function value pair. |
|
| Method Summary | |
|---|---|
double[] |
getPoint()
Deprecated. Gets the point. |
double[] |
getPointRef()
Deprecated. Gets a reference to the point. |
| Methods inherited from class org.apache.commons.math3.util.Pair |
|---|
equals, getFirst, getKey, getSecond, getValue, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointValuePair(double[] point,
double value)
point - Point coordinates. This instance will store
a copy of the array, not the array passed as argument.value - Value of the objective function at the point.
public PointValuePair(double[] point,
double value,
boolean copyArray)
point - Point coordinates.value - Value of the objective function at the point.copyArray - if true, the input array will be copied,
otherwise it will be referenced.| Method Detail |
|---|
public double[] getPoint()
public double[] getPointRef()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||