A standard approach to obtaining the rank of the matrix is to scale back it to a simpler sort, normally row echelon kind, by elementary row operations. Row functions will not alter the row Place (hence never alter the row rank), and, currently being invertible, map the column Room to https://hackwizzard.com