multrix

Crates.iomultrix
lib.rsmultrix
version0.1.2
sourcesrc
created_at2023-04-13 19:21:37.380282
updated_at2023-04-13 21:06:03.834035
descriptionA simple matrix multiplication and manipulation library with multithreading support
homepage
repositoryhttps://github.com/AndreaBissoli/multrix
max_upload_size
id838634
size12,385
Andrea Bissoli (AndreaBissoli)

documentation

https://docs.rs/multrix

README

Multrix

Multrix is a simple matrix multiplication and manipulation library for rust.

It is a work in progress, with many features still to be added.

The objective is for it to be fast, easy to use, and easy to extend, with multithreading capabilities.

Examples

Matrix multiplication

use multrix::multrix::Matrix;
fn main() {
    let a = Matrix::new_rand(100, 100);
    let b = Matrix::new_rand(100, 100);
    println!("a + b = {}", a - b);
    println!("a * b = {}", a * b);
}

List of features

  • Matrix creation from files, randomly, or from vectors
  • Matrix addition
  • Matrix transposition
  • Matrix multiplication (sequential and parallel)
  • Matrix output to files or stdout

Documentation

All the functionalities are documented, and the documentation can be found here.

Commit count: 14

cargo fmt