Rank
The rank of a Matrix of size is an integer between and that represents the dimension of the space generated by the matrix.
A matrix containing only zeroes will have a zero rank as it generates the space containing only one point
An by matrix that is inversible has rank as it can generate the whole space.
When multiplying two matrices, the rank of the result is the rank of the smallest one.
The function that associate a matrix to its rank is thus a morphism of monoids from (the set of all matrices of a given size) to .