Class 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 a DerivativeStructure.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
    • Constructor Detail

      • DataTransferObject

        DataTransferObject​(int variables,
                           int order,
                           double[] data)
        Simple constructor.
        Parameters:
        variables - number of variables
        order - derivation order
        data - partial derivatives