mathru 0.7.4

Mathematics library written in Rust
Documentation

Mathru

crate documentation minimum rustc 1.46.0 maintenance pipeline status

Mathru is a numeric library containing algorithms for linear algebra, analysis and statistics written in pure Rust with BLAS/LAPACK support.

Features

The following features are implemented in this create:

Usage

Add this to your Cargo.toml for the native Rust implementation:

[dependencies.mathru]
version = "0.7"

Add the following lines to 'Cargo.toml' if the openblas library should be used:

[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.

use mathru as mr;

Documentation

See project page for more information and examples. The API is documented on docs.rs.

License

Licensed under

Contribution

Any contribution is welcome!