lager

Crates.iolager
lib.rslager
version0.2.0
sourcesrc
created_at2021-11-12 10:12:25.356642
updated_at2021-11-12 10:12:25.356642
descriptionA lightweight type-safe linear algebra library.
homepage
repositoryhttps://github.com/calebfletcher/lager
max_upload_size
id480893
size46,300
Caleb Fletcher (calebfletcher)

documentation

README

lager

A lightweight linear algebra implementation in Rust.

Purpose

Lager aims to be a lightweight implementation of various linear algebra techniques which is optimised for small matrices and allows a greater level of compile time checking of matrix math.

Advantages

  • Compile time checking of matrix dimensions for operations like matrix multiplication and addition.
  • All matrices stored on the stack to increase performance. Note that due to this, if you want to use very large arrays you may want to look at other crates which store matrices on the heap like ndarray.
  • Straightforward numpy-inspired API.

Disadvantages

  • Uses some nightly features currently, and so does not compile on stable:
    • generic_const_exprs
  • Does not have a huge number of features or calls to BLAS/LAPACK implementations
Commit count: 45

cargo fmt