lib_jsl

Jake's Scientific Library: algorithms for scientific computing in pure Rust, implemented from first principles and checked against SciPy and other references.

version 2.49.0 crates.io docs.rs GitHub Changelog MIT licence
For using the library

API reference

Every crate, module, type and function with its signature and documentation, generated by rustdoc from the code of this release.

Open the API reference →
For understanding the algorithms

Technical documentation

Numerical Algorithms with lib_jsl: the idea, history, algorithm and implementation of each method, with measured accuracy and speed against SciPy, figures and exercises.

Open the book →

Looking for something specific? The book's catalogue of algorithms lists everything the library implements, with a link to the entry that explains each one.

Get started

cargo add lib_jsl            # everything, re-exported by domain
cargo add lib_jsl_linalg     # or a single domain crate
use lib_jsl::integration::gaussian_quadrature::GaussLegendreEngine;

Each domain crate also works on its own. The book's API conventions entry describes the shared error type, result types and the stability policy.

API reference by crate