lib_jsl
Jake's Scientific Library: algorithms for scientific computing in pure Rust, implemented from first principles and checked against SciPy and other references.
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 algorithmsTechnical 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
- lib_jslThe umbrella crate: re-exports every domain below
- lib_jsl_coreShared types, traits, errors, constants and CODATA
- lib_jsl_linalgDense and sparse linear algebra, eigensolvers, SVD
- lib_jsl_integrationQuadrature, ODE solvers, boundary value problems, PDEs
- lib_jsl_optimizationLocal, constrained and global optimisation
- lib_jsl_root_findingScalar roots, polynomials, nonlinear systems
- lib_jsl_special_functionsGamma, Bessel, elliptic, hypergeometric, Mathieu and more
- lib_jsl_interpolationSplines, scattered data, radial basis functions
- lib_jsl_derivativesNumerical differentiation
- lib_jsl_fftsFFTs, DCT/DST, fractional FFT, FFTLog
- lib_jsl_dspFilters, spectral estimation, communications, controls, images
- lib_jsl_electromagneticsFields, antennas, arrays, propagation
- lib_jsl_statisticsDistributions, hypothesis tests, regression, bootstrap
- lib_jsl_randomGenerators, quasi-random sequences, MCMC
- lib_jsl_machine_learningRegression, classification, clustering, neural networks
- lib_jsl_graphShortest paths, flows, matchings, orderings
- lib_jsl_geometryGeometry, hulls and triangulations in any dimension
- lib_jsl_number_theoryModular arithmetic, primes, factorisation
- lib_jsl_informationSource and error-correcting codes, CRC, SHA-256
- lib_jsl_file_ioWAV, JPEG, PNG, CSV, NumPy, MATLAB, NetCDF and more
- lib_jsl_sortingSorting and selection
- lib_jsl_utilsTerminal plots, unit conversion, numerical helpers
- lib_jsl_linalg_referenceReadable textbook linear algebra, for study
- lib_jsl_ffts_referenceReadable reference FFTs, for study