differential-equations

Library Listed

A Rust library for solving differential equations.

Checked · Sources

Downloads
4,465
Dependents
4
Stars
83
Forks
7
Contributors
6
Commits
509
Latest release
0.7.0 ·

About

From the project README ·

differential-equations

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::ode and 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.

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.

differential-equations beside the projects that share a topic with it
ProjectDownloadsDependentsStarsLatest releaseRuns on (GPU)Native codeLicense
differential-equations This page Listed

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
linfa-linalg Listed Dormant

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 days
  • dormancy: last activity 2026-11-04, 5 days ago, E = 365: active
  • featured: 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
Adoption3 active dependents, 3 new dependents in 365 days1 not measured
Adoption measurements
SignalValueSourceFetchedCounts
Active dependents3crates.io database dumpYes
New dependents (365 days)3crates.io database dumpYes
Peak active dependents3crates.io database dumpYes
Active dependents as a share of the peak1crates.io database dumpYes
Binary downloads per releaseNot measuredYes
MaintenanceLatest human commit: 5 days ago3 not measured
Maintenance measurements
SignalValueSourceFetchedCounts
Latest human commit2026-11-04GitHub repositoryYes
Latest release2026-10-11crates.io database dumpYes
First release2025-05-12crates.io database dumpYes
Latest version0.7.0crates.io database dumpYes
Days the oldest outside issue waits for a reply0GitHub repositoryYes
Maintainer replies over 365 days30GitHub repositoryYes
Repository archivedfalseGitHub repositoryYes
Repository gonefalseGitHub repositoryYes
Release commit or manifest in the repotruecrates.io packageYes
Published docstruecrates.io database dumpYes
Latest release fails cargo checkNot measuredYes
Build check dateNot measuredYes
Build check toolchainNot measuredYes
SecurityUnpatched vulnerabilities: none
Security measurements
SignalValueSourceFetchedCounts
Unpatched vulnerabilities past the grace windownoneRustSec advisory databaseYes
RustSec unmaintained advisorynoneRustSec advisory databaseYes
Deprecation noticenonecrates.io database dumpYes
Deprecated requirementnonecrates.io database dumpYes
Distribution21 releases, 4,465 downloads over 30 days5 not measured
Distribution measurements
SignalValueSourceFetchedCounts
Releases21crates.io database dumpYes
Downloads over 30 days4465crates.io database dumpYes
Binary downloads over the last 3 releasesNot measuredYes
Homebrew installs on request over 365 daysNot measuredYes
Repology repository familiesNot measuredYes
Docker pull growth over 90 daysNot measuredYes
Docker pulls at the growth baselineNot measuredYes
Every version a prereleasefalsecrates.io database dumpYes
Every version 0.0.xfalsecrates.io database dumpYes
Every version yankedfalsecrates.io database dumpYes
Crate deleted from crates.iofalsecrates.io database dumpYes
Repository83 stars, 7 forks, 6 contributors, 509 commits. Stars alone never qualify a project.
Repository measurements
SignalValueSourceFetchedCounts
GitHub stars83GitHub repositoryYes — one part of the repository route
GitHub forks7GitHub repositoryYes — one part of the repository route
Contributors with a GitHub account6GitHub contributorsYes — one part of the repository route
Commits on the default branch509GitHub repositoryNo
Repository's main crate left out of the entrynonecrates.io database dumpYes
Facts that never count
Facts that never count measurements
SignalValueSourceFetchedCounts
LicenseApache-2.0crates.io database dumpNo
Runs on, from listed crates and their direct dependenciesGPU support unknowncrates.io database dumpNo
What shows each backendno dependency or feature matches a backend rowcrates.io database dumpNo
Native code, from listed crates and their dependenciesNo native code foundcrates.io database dumpNo
Python bindings, from direct dependencies of listed cratesNo Python binding crate foundcrates.io database dumpNo
Crates that depend on a listed crate directly4crates.io database dumpNo

Corrections and review history

Report a correction

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.