In mathematics, the dimension of an object is informally the minimum number of coordinates needed to specify any point within it. In linear algebra, the dimension of a vector space is the number of vectors in a basis for that space. For a matrix, the dimensions are specified as rows × columns.