powered by
calculate number of elements in the diagonal and lower triangle of a squared matrix, based on the length of the diagonal.
triagSize(diagSize)
An integer
The length of the diagonal. Same as number of rows or columns.