6 releases (3 breaking)

new 0.4.1 May 16, 2024
0.4.0 May 16, 2024
0.3.1 May 15, 2024
0.2.0 May 6, 2024
0.1.0 Apr 29, 2024

#378 in Data structures

Download history 212/week @ 2024-04-29 153/week @ 2024-05-06

365 downloads per month

MIT license

100KB
2.5K SLoC

matreex

A simple matrix implementation.

Quick Start

use matreex::matrix;

let lhs = matrix![[0, 1, 2], [3, 4, 5]];
let rhs = matrix![[0, 1], [2, 3], [4, 5]];

assert_eq!(lhs * rhs, matrix![[10, 13], [28, 40]]);

FAQs

Why matreex instead of matrix?

Hmm ... Who knows? Could be a name conflict.

Where are the docs?

Coming soon (maybe not that soon).


lib.rs:

A simple matrix implementation.

Quick Start

use matreex::matrix;

let lhs = matrix![[0, 1, 2], [3, 4, 5]];
let rhs = matrix![[0, 1], [2, 3], [4, 5]];

assert_eq!(lhs * rhs, matrix![[10, 13], [28, 40]]);

FAQs

Why matreex instead of matrix?

Hmm ... Who knows? Could be a name conflict.

Where are the docs?

Coming soon (maybe not that soon).

No runtime deps