public class PointVectorValuePair extends Pair<double[],double[]> implements Serializable
PointValuePair
,
MultivariateVectorFunction
,
Serialized FormConstructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.public double[] getPoint()
public double[] getPointRef()
public double[] getValue()
public double[] getValueRef()
Copyright © 2019 CNES. All Rights Reserved.