Class DDE

Integrator for delay differential equations. For integrating ordinary differential equations, see Dopri.

Hierarchy (View Summary)

Constructors

Methods

  • Initialise the solver

    Parameters

    • t: number

      The time to start integrating from

    • y: number[]

      The initial conditions

    Returns DDE

  • Integrate the solution through to some time

    Parameters

    • tEnd: number

      End time of the integration

    Returns (t: number[]) => number[][]

  • Return statistics about the integration so far

    Returns {
        lastError: number;
        nEval: number;
        nSteps: number;
        nStepsAccepted: number;
        nStepsRejected: number;
        stiffNNonstiff: number;
        stiffNStiff: number;
    }

    • lastError: number

      The last estimated error in the solution

    • nEval: number

      The number of evaluations of the rhs function

    • nSteps: number

      The number of steps attempted

    • nStepsAccepted: number

      The number of steps accepted

    • nStepsRejected: number

      The number of steps rejected

    • stiffNNonstiff: number

      The number of stiff checks that were non-stiff

    • stiffNStiff: number

      The number of stiff checks that were stiff