Interface FirstOrderDifferentialEquations

    • Method Detail

      • getDimension

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

        void computeDerivatives​(double t,
                                double[] y,
                                double[] yDot)
                         throws MaxCountExceededException,
                                DimensionMismatchException
        Get the current time derivative of the state vector.
        Parameters:
        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
        Throws:
        MaxCountExceededException - if the number of functions evaluations is exceeded
        DimensionMismatchException - if arrays dimensions do not match equations settings