numra-dde
Delay differential equation solvers for the Numra workspace — method of steps with embedded Runge-Kutta and Hermite history interpolation.
Solves DDEs y'(t) = f(t, y(t), y(t − τ₁), y(t − τ₂), …) with constant or state-dependent delays. The method of steps integrates between delay breakpoints with an embedded RK solver and reconstructs y(t − τ) from a Hermite interpolant of the recorded trajectory.
Example
use ;
// Mackey-Glass: y'(t) = β · y(t-τ) / (1 + y(t-τ)^n) - γ · y(t)
let mg = MackeyGlass ;
let history = ;
let opts = default;
let _ = solve;
What's in this crate
MethodOfSteps— embedded-RK method-of-steps solverDdeSystemtrait — user-defined RHS with one or more delays, optional state-dependentHistory/HistoryFunction/HermiteInterpolator— initial-history representation and continuous extensionDdeOptions/DdeResult/DdeStats— tolerance / step-control configuration and diagnostics
Composes with
numra-ode— the RK steppers that drive between-delay integrationnumra-stats— descriptive statistics on chaotic attractors (e.g. range, percentile)numra-fft— spectral analysis of long-time DDE solutionsnumra-interp— post-hoc resampling of the trajectory onto fixed grids
See cross-formalism tests for the DDE-approximates-ODE consistency check.
Install
[]
= "0.1"
Or via the umbrella crate:
[]
= "0.1"
Documentation
- API: https://docs.rs/numra-dde
- Book: Delay DEs
- Source: https://github.com/moussaoutlook/numra-rs/tree/main/numra-dde
License
Numra Academic & Research License (Non-Commercial). Academic and research use is free; commercial use requires a separate license — contact contact@spectralautomata.com. See LICENSE.