FirstOrderDifferentialEquations
org.apache.commons.math3.ode

Interface FirstOrderDifferentialEquations

    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      voidcomputeDerivatives(double t, double[] y, double[] yDot)
      Get the current time derivative of the state vector.
      intgetDimension()
      Get the dimension of the problem.
    • 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

SCaVis 1.7 © jWork.org