This crate is part of Russell - Rust Scientific Library
This repository is a "rust laboratory" for vectors and matrices.
Documentation:
Install OpenBLAS:
bash
sudo apt-get install \
libopenblas-dev \
liblapacke-dev
Add this to your Cargo.toml:
toml
[dependencies]
russell_lab = "*"
By default OpenBLAS will use all available threads, including Hyper-Threads that make the performance worse. Thus, it is best to set the following environment variable:
export OPENBLAS_NUM_THREADS=<real-core-count>
Furthermore, if working on a multi-threaded application, it is recommended to set:
export OPENBLAS_NUM_THREADS=1