Class DerivativeStructure.DataTransferObject
- java.lang.Object
-
- org.apache.commons.math3.analysis.differentiation.DerivativeStructure.DataTransferObject
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- DerivativeStructure
private static class DerivativeStructure.DataTransferObject extends java.lang.Object implements java.io.Serializable
Internal class used only for serialization.
-
-
Field Summary
Fields Modifier and Type Field Description private double[]
data
Partial derivatives.private int
order
Derivation order.private static long
serialVersionUID
Serializable UID.private int
variables
Number of variables.
-
Constructor Summary
Constructors Constructor Description DataTransferObject(int variables, int order, double[] data)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.Object
readResolve()
Replace the deserialized data transfer object with aDerivativeStructure
.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serializable UID.- See Also:
- Constant Field Values
-
variables
private final int variables
Number of variables.
-
order
private final int order
Derivation order.
-
data
private final double[] data
Partial derivatives.
-
-
Method Detail
-
readResolve
private java.lang.Object readResolve()
Replace the deserialized data transfer object with aDerivativeStructure
.- Returns:
- replacement
DerivativeStructure
-
-