public class PointVectorValuePair extends Pair<double[],double[]>
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()
Getter for a reference to the point.
|
double[] |
getValue()
Getter for 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 pointpublic PointVectorValuePair(double[] point, double[] value, boolean copyArray)
point
- Point coordinatesvalue
- Value of the objective function at the pointcopyArray
- if true
, the input arrays will be copied, otherwise they will be referencedpublic double[] getPoint()
public double[] getPointRef()
public double[] getValue()
public double[] getValueRef()
Copyright © 2023 CNES. All rights reserved.