#automatic-differentiation #numerical-approximation #finite-difference

numdiff

Numerical differentiation via forward-mode automatic differentiation and finite difference approximations

12 unstable releases (3 breaking)

Uses new Rust 2024

0.4.0 Feb 16, 2026
0.3.1 Dec 20, 2025
0.2.1 Sep 14, 2025
0.2.0 Jul 20, 2025
0.1.1 Nov 25, 2024

#534 in Rust patterns

Download history 58/week @ 2025-11-06 75/week @ 2025-11-13 68/week @ 2025-11-20 20/week @ 2025-11-27 52/week @ 2025-12-04 42/week @ 2025-12-11 14/week @ 2025-12-18 112/week @ 2026-01-08 58/week @ 2026-01-15 90/week @ 2026-01-22 43/week @ 2026-01-29 92/week @ 2026-02-05 178/week @ 2026-02-12 79/week @ 2026-02-19

407 downloads per month

MIT/Apache

350KB
5K SLoC

numdiff

github crates.io docs.rs

Automatic and numerical differentiation.

Documentation

Please see https://docs.rs/numdiff.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.5MB
~22K SLoC