lapack_src/
lib.rs

1//! [LAPACK] source of choice.
2//!
3//! ## [Architecture]
4//!
5//! ## Configuration
6//!
7//! The following implementations are available:
8//!
9//! * `accelerate`, which is the one in the [Accelerate] framework (macOS only),
10//! * `intel-mkl`, which is the one in [Intel MKL],
11//! * `netlib`, which is the reference one by [Netlib],
12//! * `openblas`, which is the one in [OpenBLAS], and
13//! * `r`, which is the one in [R].
14//!
15//! An implementation can be chosen as follows:
16//!
17//! ```toml
18//! [dependencies]
19//! lapack-src = { version = "0.11", features = ["accelerate"] }
20//! lapack-src = { version = "0.11", features = ["intel-mkl"] }
21//! lapack-src = { version = "0.11", features = ["netlib"] }
22//! lapack-src = { version = "0.11", features = ["openblas"] }
23//! lapack-src = { version = "0.11", features = ["r"] }
24//! ```
25//!
26//! [architecture]: https://blas-lapack-rs.github.io/architecture
27//! [lapack]: https://en.wikipedia.org/wiki/LAPACK
28//!
29//! [accelerate]: https://developer.apple.com/reference/accelerate
30//! [intel mkl]: https://software.intel.com/en-us/mkl
31//! [netlib]: https://www.netlib.org/
32//! [openblas]: https://www.openblas.net/
33//! [r]: https://cran.r-project.org/
34
35#![no_std]
36
37#[cfg(feature = "accelerate")]
38extern crate accelerate_src as raw;
39
40#[cfg(feature = "intel-mkl")]
41extern crate intel_mkl_src as raw;
42
43#[cfg(feature = "netlib")]
44extern crate netlib_src as raw;
45
46#[cfg(feature = "openblas")]
47extern crate openblas_src as raw;
48
49#[cfg(feature = "r")]
50extern crate r_src as raw;