lager 0.2.0

A lightweight type-safe linear algebra library.
Documentation
1
2
3
4
5
6
7
8
9
use lager::Matrix;

fn main() {
    let mtx1 = Matrix::new([[4.4, 7.3, 2.5], [2.4, 6.4, 2.2], [9.5, 3.5, 4.6]]);
    let mtx2 = Matrix::new([[4.4, 7.3, 2.5], [2.4, 6.4, 2.2], [9.5, 3.5, 4.6]]);
    let _mtx3 = Matrix::new([[4.4, 7.3, 2.5], [2.4, 6.4, 2.2]]);
    let mtx4 = mtx1 + mtx2;
    dbg!("{}", mtx4.values);
}