Class ODEStateAndDerivative

    • Constructor Detail

      • ODEStateAndDerivative

        public ODEStateAndDerivative​(double time,
                                     double[] primaryState,
                                     double[] primaryDerivative)
        Simple constructor.

        Calling this constructor is equivalent to call ODEStateAndDerivative(time, state, derivative, null, null).

        Parameters:
        time - time
        primaryState - primary state at time
        primaryDerivative - derivative of the primary state at time
      • ODEStateAndDerivative

        public ODEStateAndDerivative​(double time,
                                     double[] primaryState,
                                     double[] primaryDerivative,
                                     double[][] secondaryState,
                                     double[][] secondaryDerivative)
        Simple constructor.
        Parameters:
        time - time
        primaryState - primary state at time
        primaryDerivative - derivative of the primary state at time
        secondaryState - state at time (may be null)
        secondaryDerivative - derivative of the state at time (may be null)