IsLowerBidiagonal
Tests if a matrix is lower bidiagonal.
Syntax
-
IsLowerBidiagonal(A[, ε])-
Ais a matrix -
εis a positive number
-
Description
If A is a matrix then IsLowerBidiagonal(A, ε) is true iff A is square and i ≠ j and i ≠ j + 1 implies A[i, j] = 0 (with epsilon ε).
Examples
❨❨3, 0, 0, 0❩, ❨1, 2, 0, 0❩, ❨0, 4, 1, 0❩, ❨0, 0, 0, 1❩❩
⎛3 0 0 0⎞ ⎜1 2 0 0⎟ ⎜0 4 1 0⎟ ⎝0 0 0 1⎠
IsLowerBidiagonal(ans)
true