sukker 2.0.0

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

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

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

    // Will not multiply if dimensions does not line up
    c.mul_self(&b);

    let d = c.add_val(42f32);

    d.print(5);
}