| SparseMatrixDataStorage, Type(IDictionaryIntPair, Type, Int32) Constructor |
Constructs a SparseMatrixData instance from the given coordinate
map format.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public SparseMatrixData(
IDictionary<IntPair, Type> values,
int numCols
)
Public Sub New (
values As IDictionary(Of IntPair, Type),
numCols As Integer
)
public:
SparseMatrixData(
IDictionary<IntPair, Type>^ values,
int numCols
)
new :
values : IDictionary<IntPair, 'Type> *
numCols : int -> SparseMatrixData
Parameters
- values IDictionaryIntPair, Type
- The values stored as a dictionary. The row-column pair is the
key and the non-zero entry is the values.
- numCols Int32
- The number of columns in the matrix.
See Also