Click or drag to resize

ISparseMatrixStorageTInitializeData Method

Initialze the data in self with the given sparse data in coordinate format.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
void InitializeData(
	IDictionary<IntPair, T> values,
	int numRows,
	int numCols
)

Parameters

values
Type: System.Collections.GenericIDictionaryIntPair, T
Nonzero values. The keys are the row-column position and the value is the numerical value at that position.
numRows
Type: SystemInt32
The number of rows in the matrix.
numCols
Type: SystemInt32
The number of columns in the matrix.
See Also