TSparseMtx.DiagonalsCount Method

procedure DiagonalsCount(out Upper: Integer; out Lower: Integer);

Calculates the number of diagonals above and below main diagonal.

#NameTypeDescription
1UpperInteger
2LowerInteger

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 TSparseMtx.SparseToBanded method.