differential-equations
Library Listed
A Rust library for solving differential equations.
- Downloads
- 4,465
- Dependents
- 4
- Stars
- 83
- Forks
- 7
- Contributors
- 6
- Commits
- 509
- Latest release
- 0.7.0 ·
About
Documentation | Examples | GitHub | Docs.rs | Crates.io
A high-performance library for numerically solving differential equations
for the Rust programming language.
A high-performance library for solving differential equations in Rust, including:
Read the full README
Ordinary Differential Equations (ODEs) - Fixed-step and adaptive solvers with comprehensive features including event detection, dense output, and customizable and common recipes for solution output.
- Initial Value Problems - Solve problems with known initial conditions
- Boundary Value Problems - Solve endpoint-constrained ODE problems with
BVP::odeand the same final-trajectory output controls used by IVPs
Differential Algebraic Equations (DAEs) - Implicit differential algebraic equations in the form $M f \prime = f(t,y)$ where $M$ can be singular
- Index-1,2,3 DAEs - Index-1 implicitly supported, higher index equations require declaration in solver.
Delay Differential Equations (DDEs) - Adaptations of ODE solvers to handle delay differential equations by tracking history for interpolation.
- Fixed-Delay Problems - Solve problems with fixed delays
- Variable-Delay Problems - Solve problems with state driven delays
Stochastic Differential Equations (SDEs) - Fixed step explicit Runge-Kutta methods for stochastic differential equations.
- Customizable Noise - User implements noise in SDE implementation
Partial Differential Equations (PDEs) - Spatial discretization backends for time-dependent PDEs.
- Method of Lines - Discretize general conservative PDEs on structured grids with finite difference or finite volume schemes, then reuse existing ODE IVP solvers.
- Finite Volume - Conservation-law backend with MUSCL reconstruction, limiters, and numerical fluxes.
- Yee Grid - Specialized staggered FDTD grid for Maxwell's equations.
Feature Flags
nalgebra: Enables nalgebra matrix and vector states, including fixed-size and dynamic matrices.num-complex: Enables complex number states.ndarray: Enables ndarray array states.faer: Enables faer matrix states.polars: Enables converting solutions to Polars data frames.serde: Enables solution serialization and deserialization.
The polars feature requires Rust 1.95 or newer.
Contributing
This library is looking for contributions to bring the future of scientific computing to Rust!
Please see CONTRIBUTING.md for more information on how to contribute to this project.
Custom states derived with #[derive(State)] can contain Vec<T> fields.
Their lengths are determined at runtime, and zeros_like() preserves those lengths.
See dynamic state fields.
Compatibility
- Runs on
- GPU support unknown
What shows it
- no dependency or feature matches a backend row
- Native code
- None found
- No native code found
- Python bindings
- No Python binding crate found
- License
- Apache-2.0
Compare with similar projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days. ML Rust runs this catalogue, so its closest project always gets a row.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
|
A Rust library for solving differential equations. |
4,465 downloads over 30 days | 4 | 83 | 0.7.0 | GPU support unknown | No native code found | Apache-2.0 |
|
statrs Featured
Statistical computing library for Rust |
4,515,476 downloads over 30 days | 444 | 839 | 0.19.1 | GPU support unknown | No native code found | MIT |
|
rustfft Featured
High-performance FFT library written in pure Rust. |
4,266,035 downloads over 30 days | 571 | 963 | 6.4.1 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
|
Pure-Rust implementation of linear algebra routines for ndarray |
198,623 downloads over 30 days | 20 | 39 | 0.2.1 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
|
peroxide Listed
Rust comprehensive scientific computation library contains linear algebra, numerical analysis, statistics and machine learning tools with familiar syntax Python bindings |
56,548 downloads over 30 days | 9 | 732 | 0.43.1 | GPU support unknown | Binds native code: openblas-src (feature O3-openblas-system), blas-sys (feature O3), hdf5-metno-sys (feature nc), lapack-sys (feature O3), libz-sys (feature nc) and 1 more | Apache-2.0 OR MIT |
|
numr Listed
The base for numerical code in Rust, in the role NumPy has in Python: n-dimensional tensors, linear algebra, FFT, statistics and autograd on CPU, CUDA and WebGPU. The backends use native kernels, with no cuBLAS, MKL or other vendor math library. |
1,673 downloads over 30 days | 7 | 59 | 0.15.2 | CUDA, WebGPU | Binds native code: ring (feature distributed) | Apache-2.0 |
Why ListedNo archive, New or Featured rule places it, so it is Listed.
What it lacks for Featured
- It has 3 active dependents and 3 new dependents in 365 days. Featured needs 11 active dependents or 9 new dependents in 365 days. The repository route reads 83 stars, 7 forks and 6 contributors. It needs 4,539 stars, 434 forks and 79 contributors together.
What else the check found
- The last activity is on 4 Nov 2026, 5 days ago. The rules expect an update within 365 days. Dormancy rule
Exact rules: Listed, Featured library. The check on applied thresholds version 9.
Every rule outcome, as the check records it
expected-interval: version 0.7.0 base 140, raised to the 365-day floor: E = 365 daysdormancy: last activity 2026-11-04, 5 days ago, E = 365: activefeatured: not featured: active_users 3 < 11 and new_adopters 3 < 9 and repository route stars 83 (needs 4539), forks 7 (needs 434), contributors 6 (needs 79)listed: listed: no archive, new or featured rule applies
Measurements and sources
Each signal row shows the raw value, its source and the fetch date. The Sources list gathers every distinct source on this page. Movement needs more history.
Sources6 sources
- Description: the crates.io description
- crates.io database dump, fetched
- RustSec advisory database, fetched
- GitHub repository, fetched
- crates.io package, fetched
- GitHub contributors, fetched
Adoption3 active dependents, 3 new dependents in 365 days1 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Active dependents | 3 | crates.io database dump | Yes | |
| New dependents (365 days) | 3 | crates.io database dump | Yes | |
| Peak active dependents | 3 | crates.io database dump | Yes | |
| Active dependents as a share of the peak | 1 | crates.io database dump | Yes | |
| Binary downloads per release | Not measured | Yes |
MaintenanceLatest human commit: 5 days ago3 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Latest human commit | 2026-11-04 | GitHub repository | Yes | |
| Latest release | 2026-10-11 | crates.io database dump | Yes | |
| First release | 2025-05-12 | crates.io database dump | Yes | |
| Latest version | 0.7.0 | crates.io database dump | Yes | |
| Days the oldest outside issue waits for a reply | 0 | GitHub repository | Yes | |
| Maintainer replies over 365 days | 30 | GitHub repository | Yes | |
| Repository archived | false | GitHub repository | Yes | |
| Repository gone | false | GitHub repository | Yes | |
| Release commit or manifest in the repo | true | crates.io package | Yes | |
| Published docs | true | crates.io database dump | Yes | |
| Latest release fails cargo check | Not measured | Yes | ||
| Build check date | Not measured | Yes | ||
| Build check toolchain | Not measured | Yes |
SecurityUnpatched vulnerabilities: none
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Unpatched vulnerabilities past the grace window | none | RustSec advisory database | Yes | |
| RustSec unmaintained advisory | none | RustSec advisory database | Yes | |
| Deprecation notice | none | crates.io database dump | Yes | |
| Deprecated requirement | none | crates.io database dump | Yes |
Distribution21 releases, 4,465 downloads over 30 days5 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Releases | 21 | crates.io database dump | Yes | |
| Downloads over 30 days | 4465 | crates.io database dump | Yes | |
| Binary downloads over the last 3 releases | Not measured | Yes | ||
| Homebrew installs on request over 365 days | Not measured | Yes | ||
| Repology repository families | Not measured | Yes | ||
| Docker pull growth over 90 days | Not measured | Yes | ||
| Docker pulls at the growth baseline | Not measured | Yes | ||
| Every version a prerelease | false | crates.io database dump | Yes | |
| Every version 0.0.x | false | crates.io database dump | Yes | |
| Every version yanked | false | crates.io database dump | Yes | |
| Crate deleted from crates.io | false | crates.io database dump | Yes |
Repository83 stars, 7 forks, 6 contributors, 509 commits. Stars alone never qualify a project.
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| GitHub stars | 83 | GitHub repository | Yes — one part of the repository route | |
| GitHub forks | 7 | GitHub repository | Yes — one part of the repository route | |
| Contributors with a GitHub account | 6 | GitHub contributors | Yes — one part of the repository route | |
| Commits on the default branch | 509 | GitHub repository | No | |
| Repository's main crate left out of the entry | none | crates.io database dump | Yes |
Facts that never count
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| License | Apache-2.0 | crates.io database dump | No | |
| Runs on, from listed crates and their direct dependencies | GPU support unknown | crates.io database dump | No | |
| What shows each backend | no dependency or feature matches a backend row | crates.io database dump | No | |
| Native code, from listed crates and their dependencies | No native code found | crates.io database dump | No | |
| Python bindings, from direct dependencies of listed crates | No Python binding crate found | crates.io database dump | No | |
| Crates that depend on a listed crate directly | 4 | crates.io database dump | No |
Corrections and review history
No correction applies to this entry.
Judgments
A judgment enters only through an approved issue and a merged pull request.
No judgment applies to this entry.