Constructs a DoubleHermCsrSparseMatrix 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.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleHermCsrSparseMatrix( IDictionary<IntPair, DoubleComplex> values, int numCols ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ values As IDictionary(Of IntPair, DoubleComplex), _ numCols As Integer _ ) |
| Visual C++ |
|---|
public: DoubleHermCsrSparseMatrix( IDictionary<IntPair, DoubleComplex>^ values, int numCols ) |
Parameters
- values
- Type: System.Collections.Generic..::.IDictionary<(Of <(IntPair, DoubleComplex>)>)
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.