Mathru is a numeric library containing algorithms for linear algebra, analysis and statistics written in pure Rust with BLAS/LAPACK support.
The following features are implemented in this create:
Ordinary differential equation (ODE)
elementary functions
Add this to your Cargo.toml
for the native Rust implementation:
toml
[dependencies.mathru]
version = "^0.7"
Add the following lines to 'Cargo.toml' if the openblas library should be used:
toml
[dependencies.mathru]
version = "^0.7"
default-features = false
features = "openblas"
One of the following implementations for linear algebra can be activated as a feature: - native: Native Rust implementation(activated by default) - openblas: Optimized BLAS library - netlib: Collection of mathematical software, papers, and databases - intel-mkl: Intel Math Kernel Library - accelerate Make large-scale mathematical computations and image calculations, optimized for high performance and low-energy consumption.(macOS only)
Then import the modules and it is ready to be used.
rust
use mathru as mr;
See project page for more information and examples. The API is documented on docs.rs.
Licensed under
Any contribution is welcome!