The horizontal lines in a matrix are called rows and the vertical lines are called columns. A matrix with "m" rows and "n" columns is called an "m"-by-"n" matrix (or "m"×"n" matrix) and "m" and "n" are called its dimensions.