sukker 1.4.1

Linear Algebra and Matrices made easy!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use sukker::{Matrix, MatrixLinAlg};

fn main() {
    let a = Matrix::randomize((2, 3));
    let b = Matrix::randomize((2, 3));

    let mut c = a.add(&b);
    c.mul_self(&b);

    let d = c.add_val(42f32);

    d.print(5);
}