Sparse Matrix<T>.Increment Nonzero Count Method
Called by inheritors to increment the number of nonzero components by the specified amount.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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.