[][src]Module jamml::core

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

dims

Return the dimensions of a matrix.

isvalid

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

Type Definitions

Mat

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