main diagonal

main diagonal

the line of values running from the upper left to the lower right of a square matrix. The first value in the main diagonal is the number in the first row and the first column of the matrix, the second value is the number in the second row and second column, and so on.