Constructs a DoubleSymCsrSparseMatrix instance from the given coordinate map format. Only the upper triangular, column greater than or equal to row, values will be referenced.

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

Syntax

C#
public DoubleSymCsrSparseMatrix(
	IDictionary<IntPair, double> values,
	int numCols
)
Visual Basic (Declaration)
Public Sub New ( _
	values As IDictionary(Of IntPair, Double), _
	numCols As Integer _
)
Visual C++
public:
DoubleSymCsrSparseMatrix(
	IDictionary<IntPair, double>^ values, 
	int numCols
)

Parameters

values
Type: System.Collections.Generic..::.IDictionary<(Of <(IntPair, Double>)>)
The values stored as a dictionary. The row-column pair is the key and the non-zero entry is the values. Only the upper triangular, column greater than or equal to row, values will be referenced.
numCols
Type: System..::.Int32
The number of columns in the matrix.

See Also