Deprecated
As of 3.1 (to be removed in 4.0).
PointVectorValuePair, org.apache.commons.math3.analysis.MultivariateFunction
| Modifier and Type | Class and Description |
|---|---|
| private static class | PointValuePair.
Internal class used only for serialization. |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Serializable UID. |
| Access | Constructor and Description |
|---|---|
| public | PointValuePair(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 | PointValuePair(final double[]
Point coordinates. point, final double Value of the objective function at the point. value, final boolean if copyArray)true, the input array will be copied,
otherwise it will be referenced.Builds 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. |
| 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. | |
| PointValuePair | back to summary |
|---|---|
| public PointValuePair(final double[] point, final double value) Builds a point/objective function value pair.
| |
| PointValuePair | back to summary |
|---|---|
| public PointValuePair(final double[] point, final double value, final boolean copyArray) Builds 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.
| |
| 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
| |