Interface FirstOrderDifferentialEquations

    • Method Detail

      • getDimension

        int getDimension()
        Get the dimension of the problem.
        dimension of the problem
      • computeDerivatives

        void computeDerivatives​(double t,
                                double[] y,
                                double[] yDot)
                         throws DerivativeException
        Get the current time derivative of the state vector.
        t - current value of the independent time variable
        y - array containing the current value of the state vector
        yDot - placeholder array where to put the time derivative of the state vector
        DerivativeException - this user-defined exception should be used if an error is is triggered by user code