SparseMatrix<T>.IncrementNonzeroCount Method

Called by inheritors to increment the number of nonzero components by the specified amount.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
protected void IncrementNonzeroCount(
	int amount
)

Parameters

amount  Int32
The amount to increase the number of nonzero components by.

Remarks

All sparse matrix classes keep an independent count of the number of nonzero components in the matrix. This method is called by inheritors to adjust this value to keep it in sync with the actual data in the matrix.

See Also