6 releases

0.2.0 Sep 28, 2025
0.1.4 Jul 18, 2021
0.1.3 Feb 22, 2021
0.1.2 Oct 14, 2019
0.1.1 Jan 11, 2019

#1677 in Math

Download history 897/week @ 2025-08-26 1155/week @ 2025-09-02 2054/week @ 2025-09-09 1421/week @ 2025-09-16 2203/week @ 2025-09-23 1436/week @ 2025-09-30 1024/week @ 2025-10-07 1283/week @ 2025-10-14 1269/week @ 2025-10-21 1037/week @ 2025-10-28 1574/week @ 2025-11-04 1451/week @ 2025-11-11 1483/week @ 2025-11-18 1137/week @ 2025-11-25 1486/week @ 2025-12-02 1489/week @ 2025-12-09

6,161 downloads per month
Used in 19 crates (15 directly)

MIT/Apache

120KB
3K SLoC

Build Status Gitter chat

finitediff: Finite Differentiation

This crate contains a wide range of methods for the calculation of gradients, Jacobians and Hessians using forward and central differences. The methods have been implemented for input vectors of the type Vec<f64> and ndarray::Array1<f64>.

See the Documentation for details.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.5–1MB
~19K SLoC