PointValuePair, org.apache.commons.math3.analysis.MultivariateVectorFunction
| Modifier and Type | Class and Description |
|---|---|
| private static class | PointVectorValuePair.
Internal class used only for serialization. |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Serializable UID. |
| Access | Constructor and Description |
|---|---|
| public | PointVectorValuePair(final double[]
Point coordinates. This instance will store
a copy of the array, not the array passed as argument. point, final double[] Value of the objective function at the point. value)Builds a point/objective function value pair. |
| public | PointVectorValuePair(final double[]
Point coordinates. point, final double[] Value of the objective function at the point. value, final boolean if copyArray)true, the input arrays will be copied,
otherwise they will be referenced.Build a point/objective function value pair. |
| Modifier and Type | Method and Description |
|---|---|
| public double[] | |
| public double[] | Returns: a reference to the internal array storing the point.Gets a reference to the point. |
| public double[] | Returns: a copy of the stored value of the objective function.Overrides org. Gets the value of the objective function. |
| public double[] | Returns: a reference to the internal array storing the value of the objective function.Gets a reference to the value of the objective function. |
| private Object | Returns: data transfer object that will be serializedReplace the instance with a data transfer object for serialization. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serializable UID. | |
| PointVectorValuePair | back to summary |
|---|---|
| public PointVectorValuePair(final double[] point, final double[] value) Builds a point/objective function value pair.
| |
| PointVectorValuePair | back to summary |
|---|---|
| public PointVectorValuePair(final double[] point, final double[] value, final boolean copyArray) Build a point/objective function value pair.
| |
| getPoint | back to summary |
|---|---|
| public double[] getPoint() Gets the point.
| |
| getPointRef | back to summary |
|---|---|
| public double[] getPointRef() Gets a reference to the point.
| |
| getValue | back to summary |
|---|---|
| public double[] getValue() Overrides org. Gets the value of the objective function.
| |
| getValueRef | back to summary |
|---|---|
| public double[] getValueRef() Gets a reference to the value of the objective function.
| |
| writeReplace | back to summary |
|---|---|
| private Object writeReplace() Replace the instance with a data transfer object for serialization.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final double[] | point
Point coordinates. |
| private static final long | serialVersionUID
Serializable UID. |
| private final double[] | value
Value of the objective function at the point. |
| Access | Constructor and Description |
|---|---|
| pack-priv | DataTransferObject(final double[]
Point coordinates. point, final double[] Value of the objective function at the point. value)Simple constructor. |
| Modifier and Type | Method and Description |
|---|---|
| private Object | Returns: replacementPointValuePairReplace the deserialized data transfer object with a |
| point | back to summary |
|---|---|
| private final double[] point Point coordinates. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serializable UID. | |
| value | back to summary |
|---|---|
| private final double[] value Value of the objective function at the point. | |
| DataTransferObject | back to summary |
|---|---|
| pack-priv DataTransferObject(final double[] point, final double[] value) Simple constructor.
| |
| readResolve | back to summary |
|---|---|
| private Object readResolve() Replace the deserialized data transfer object with a
| |