Module jamml::core

source ·
Expand description

Core Matrix Deffinions and auxilarry functions.

let m: Mat<i32> = vec![vec![1, 2, 3],
                       vec![4, 5, 6],
                       vec![7, 8, 9]];

assert!(isvalid(&m));
assert_eq!(dims(&m), (3, 3));

Functions

Return the dimensions of a matrix.
Finds weather or not each row in a matrix it the same lenght.

Type Definitions

For now, a matrix is a vector of vectors of numbers