1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Vectors, matrices and their operations.
//! The linear algebra module supports BLAS/LAPACK if it is enabled via
//! features.
//! The interface is identical, but the BLAS/LAPACK backend may be somewhat
//! more efficient.
//! BLAS/LAPACK support can be enable in the `Cargo.toml` file like so:
//! ```text
//! [dependencies.mathru]
//! version = "^0.15"
//! 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](https://www.openblas.net/): Optimized BLAS library
//! - [netlib](https://www.netlib.org/): Collection of mathematical software,
//! papers, and databases
//! - [intel-mkl](https://software.intel.com/content/www/us/en/develop/tools/math-kernel-library.html):
//! Intel Math Kernel Library
//! - [accelerate](https://developer.apple.com/documentation/accelerate) Make
//! large-scale mathematical computations and image calculations, optimized
//! for high performance and low-energy consumption. (macOS only)