sukker 1.2.0

Matrices in rust
Documentation

Sukker - Matrix library written in rust

Build Status Documentation Crates.io Coverage Status Maintenance

Linear algebra in Rust! Parallelized using rayon with support for many common datatypes, sukker tries to make matrix operations easier for the user, while still giving you as the user the performance you deserve

Examples

use sukker::Matrix;

fn main() {
    let a = Matrix::<f32>::randomize((7,56));
    let b = Matrix::<f32>::randomize((56,8));

    let c = a.matmul(&b);

    // To print this beautiful matrix:
    c.print();
}

More examples can be found here

Documentation

Full API documentation can be found here.

Features

  • Blazingly fast
  • Common matrix operations exists under matrix module
  • Support for f32, f64, i32, i64 and even i8