TSparseMtx.DiagonalsCount Method

procedure DiagonalsCount(out Upper, 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.