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

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void InitializeData(
	IDictionary<IntPair, T> values,
	int numRows,
	int numCols
)
Visual Basic (Declaration)
Public Sub InitializeData ( _
	values As IDictionary(Of IntPair, T), _
	numRows As Integer, _
	numCols As Integer _
)
Visual C++
public:
virtual void InitializeData(
	IDictionary<IntPair, T>^ values, 
	int numRows, 
	int numCols
) sealed

Parameters

values
Type: System.Collections.Generic..::.IDictionary<(Of <(IntPair, T>)>)
The values stored as a sorted dictionary. The row-column pair is the key and the non-zero entry is the values.
numRows
Type: System..::.Int32
The number of rows in the matrix.
numCols
Type: System..::.Int32
The number of columns in the matrix.

Implements

ISparseMatrixStorage<(Of <(T>)>)..::.InitializeData(IDictionary<(Of <(IntPair, T>)>), Int32, Int32)

See Also