R/NMreadInits.R
triagSize.Rd
calculate number of elements in the diagonal and lower triangle of a squared matrix, based on the length of the diagonal.
triagSize(diagSize)
The length of the diagonal. Same as number of rows or columns.
An integer
triagSize(1:5) #> [1] 1 3 6 10 15