TSparseMtx::ZeroThresh Method

void ZeroThresh(double Threshold = 0);

Reduces the number of non-zeros.

#NameTypeDescription
1Threshold = 0double
Remarks:

Reduces the number of non-zeros by rounding all values smaller than Threshold to zero. All zeros on the main diagonal are retained.

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