IsAntidiagonal
Tests if a matrix is antidiagonal.
Syntax
-
IsAntidiagonal(A[, ε])-
Ais a matrix -
εis a positive number
-
Description
If A is a matrix then IsAntidiagonal(A, ε) is true iff A is square and i ≠ n − j + 1 implies A[i, j] is zero (with epsilon ε) where n is the size of A.
Examples
IsAntidiagonal(❨❨0, 4❩, ❨1, 0❩❩)
true