# Class DDE

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

## Methods

• initialise(t: number, y: number[]): DDE
• Initialise the solver

#### Parameters

• ##### t: number

The time to start integrating from

• ##### y: number[]

The initial conditions

#### Returns DDE

• run(tEnd: number): ((t: number[]) => number[][])
• Integrate the solution through to some time

#### Parameters

• ##### tEnd: number

End time of the integration

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

• (t: number[]): number[][]
• This is essentially a vectorised version of InterpolatedSolution, accepting a vector of times.

### Returns

A vector of vectors; element `[i][j]` is the `j`th variable at the `i`th time in `t`

#### Parameters

• ##### t: number[]

Vector of times to request the solution at

#### Returns number[][]

• statistics(): { lastError: number; nEval: number; nSteps: number; nStepsAccepted: number; nStepsRejected: number; stiffNNonstiff: number; stiffNStiff: 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

• steps(): number[]
• #### Returns number[]

Generated using TypeDoc