TSparseMtx.DiagonalsCount Method

void DiagonalsCount(ref Int32 Upper, ref Int32 Lower)

Calculates the number of diagonals above and below main diagonal.

#NameTypeDescription
1UpperInt32 (ref)output
2LowerInt32 (ref)output

Result: stored in self (calling object)

Remarks:

Calculates the number of diagonals above (Upper) and below (Lower) the main diagonal. This information is used by the Dew.Math.TSparseMtx.SparseToBanded method.