Click or drag to resize

CompressedSparseRowTInitializeData Method

Initialized the compressed row data structures from the given coordinate map format.

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

Parameters

values  IDictionaryIntPair, T
The values stored as a sorted dictionary. The row-column pair is the key and the non-zero entry is the values.
numRows  Int32
The number of rows in the matrix.
numCols  Int32
The number of columns in the matrix.
isUpperTriangular  Boolean  (Optional)
Whether the data is upper triangular.

Implements

ISparseMatrixStorageTInitializeData(IDictionaryIntPair, T, Int32, Int32, Boolean)
See Also