|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.math3.util.Pair<double[],double[]> org.apache.commons.math3.optim.PointVectorValuePair
public class PointVectorValuePair
This class holds a point and the vectorial value of an objective function at that point.
PointValuePair
,
MultivariateVectorFunction
,
Serialized FormConstructor Summary | |
---|---|
PointVectorValuePair(double[] point,
double[] value)
Builds a point/objective function value pair. |
|
PointVectorValuePair(double[] point,
double[] value,
boolean copyArray)
Build a point/objective function value pair. |
Method Summary | |
---|---|
double[] |
getPoint()
Gets the point. |
double[] |
getPointRef()
Gets a reference to the point. |
double[] |
getValue()
Gets the value of the objective function. |
double[] |
getValueRef()
Gets a reference to the value of the objective function. |
Methods inherited from class org.apache.commons.math3.util.Pair |
---|
equals, getFirst, getKey, getSecond, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PointVectorValuePair(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 PointVectorValuePair(double[] point, double[] value, boolean copyArray)
point
- Point coordinates.value
- Value of the objective function at the point.copyArray
- if true
, the input arrays will be copied,
otherwise they will be referenced.Method Detail |
---|
public double[] getPoint()
public double[] getPointRef()
public double[] getValue()
getValue
in class Pair<double[],double[]>
public double[] getValueRef()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |