Files
mql5-skills/skills/mql5/references/docs/06-matrix/0379-matrix-matrix-classification-matrix-isuppertriangular.md
T
2026-06-23 21:47:51 +08:00

33 lines
598 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# IsUpperTriangular
Check if a square matrix is upper triangular.
```
bool matrix::IsUpperTriangular();
```
Return Value
True if square matrix is upper triangular.
Note
Zero matrix of n-by-n size is triangular. Diagonal matrix is triangular. Bidiagonal matrix is triangular.
Check if lower triangular part under the main diagonal contains all zeros.
Upper triangular matrix
```
 
   v  v  v  v  v  v
   0  v  v  v  v  v
   0  0  v  v  v  v
   0  0  0  v  v  v
   0  0  0  0  v  v
   0  0  0  0  0  v
 
```