russell_lab 0.1.4

Matrix-vector laboratory including linear algebra tools
Documentation

Russell Lab - Matrix-vector laboratory including linear algebra tools

This crate is part of Russell - Rust Scientific Library

This repository is a "rust laboratory" for vectors and matrices.

Documentation:

Installation

Install OpenBLAS:

sudo apt-get install \
    libopenblas-dev \
    liblapacke-dev

Add this to your Cargo.toml:

[dependencies]
russell_lab = "*"

Number of threads

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