Main diagonal

From HandWiki
Short description: Entries of a matrix for which the row and column indices are equal


In linear algebra, the main diagonal (sometimes principal diagonal, primary diagonal, leading diagonal, major diagonal, or good diagonal) of a matrix A is the list of entries ai,j where i=j. All off-diagonal elements are zero in a diagonal matrix. The following four matrices have their main diagonals indicated by red ones:

[100010001][100001000010][100010001000][1000010000100001]

Antidiagonal

The antidiagonal (sometimes counter diagonal, secondary diagonal, trailing diagonal, minor diagonal, off diagonal, or bad diagonal) of an order N square matrix B is the collection of entries bi,j such that i+j=N1 for all 1i,jN. That is, it runs from the top right corner to the bottom left corner.

[001010100]

See also

  • Trace

References