qmat 0.5.1

A simple library for 2-dimensional matrices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[test]
fn test_partial_eq() {
    let a = qmat::matrix!(2, 2, [1, 2, 3, 4]);
    let b = qmat::matrix!(2, 2, [1, 2, 3, 4]);
    assert_eq!(a, b);
}

#[test]
fn test_partial_ne() {
    let a = qmat::matrix!(2, 2, [1, 2, 3, 4]);
    let b = qmat::matrix!(2, 2, [1, 2, 2, 4]);
    assert_ne!(a, b);
}