mtrs

Crates.iomtrs
lib.rsmtrs
version0.2.0
sourcesrc
created_at2020-10-10 14:52:32.112205
updated_at2020-10-27 18:10:07.439487
descriptionA implementation of matrices in Rust
homepage
repositoryhttps://github.com/ZippyMagician/mtrs.git
max_upload_size
id298036
size39,290
ZippyMagician (ZippyMagician)

documentation

README

mtrs

Crates.io Documentation Codecov Build Status
A library for handling mathematical matrices in Rust

Quick example

#[macro_use]
extern crate mtrs;

use mtrs::Matrix;

fn main() {
    let mat1 = Matrix::identity(2);
    let mat2 = matrix![(2, 2); 1, 2; 3, 4];

    assert_eq!(mat1 * mat2, mat2);
    println!("{}", mat2);
}
Commit count: 46

cargo fmt