skewdiagonal
Skew diagonal, more commonly called the anti-diagonal or secondary diagonal, refers to a diagonal-like line of entries in a square matrix that runs from the top-right corner to the bottom-left corner. In an n-by-n matrix A, the skew diagonal consists of the entries a_{i, n+1−i} for i = 1, 2, …, n. This diagonal intersects the main diagonal only when n is odd, at the central element a_{(n+1)/2, (n+1)/2}.
A matrix that has nonzero entries only on its skew diagonal is called an anti-diagonal or skew-diagonal
In practice, anti-diagonal elements appear in descriptions of palindromic structures, certain matrix decompositions, and linear transformations
Example: a 4×4 anti-diagonal matrix with ones on the skew diagonal and zeros elsewhere is