Main Diagonal

From Displayr
Jump to: navigation, search

In a table of numbers that has the same number of rows as columns, the numbers in the main diagonal are the line of numbers running from the top-left corner to the bottom-right corner. In this example, all the 1s are in the main diagonal.

1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1