public class PointValuePair extends Pair<double[],Double>
PointVectorValuePair,
MultivariateFunction,
Serialized Form| Constructor and Description |
|---|
PointValuePair(double[] point,
double value)
Builds a point/objective function value pair.
|
PointValuePair(double[] point,
double value,
boolean copyArray)
Builds a point/objective function value pair.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getPoint()
Getter for the point.
|
double[] |
getPointRef()
Getter for the reference to the point.
|
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 pointpublic PointValuePair(double[] point,
double value,
boolean copyArray)
point - Point coordinatesvalue - Value of the objective function at the pointcopyArray - if true, the input array will be copied, otherwise it will be referencedCopyright © 2024 CNES. All rights reserved.