In mathematics, the rank of a linear map between one vector space and another is the dimension of the image, or the number of linearly independent rows or columns in the matrix of the mapping.