sukker 2.0.2

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

fn main() {
    let a: Matrix<f32> = Matrix::randomize((3, 1024));
    let b: Matrix<f32> = Matrix::randomize((1024, 3));

    let c = a.matmul(&b).unwrap();

    println!("{}", c);
    println!("{:?}", c);

    // Print with however many decimals you want
    c.print(4);

    assert!(c.size() == 9);
}