Click or drag to resize

DoubleCsrSparseMatrix(IDictionaryIntPair, Double, Int32) Constructor

Constructs a DoubleCsrSparseMatrix instance from the given coordinate map format.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleCsrSparseMatrix(
	IDictionary<IntPair, double> values,
	int numCols
)

Parameters

values  IDictionaryIntPair, Double
The values stored as a dictionary. The row-column pair is the key and the non-zero entry is the values.
numCols  Int32
The number of columns in the matrix.
See Also