TSparseMtx::DiagonalsCount Method

void DiagonalsCount(int &Upper, int &Lower);

Calculates the number of diagonals above and below main diagonal.

#NameTypeDescription
1Upperint &
2Lowerint &
Remarks:

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

Declared in Dew::Math::TSparseMtx · Dew.Math/sparse.h · Cross-compiler