| SparseMatrixDataStorage, Type(IDictionaryIntPair, Type, Int32, 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 numRows,
int numCols
)
Public Sub New (
values As IDictionary(Of IntPair, Type),
numRows As Integer,
numCols As Integer
)
public:
SparseMatrixData(
IDictionary<IntPair, Type>^ values,
int numRows,
int numCols
)
new :
values : IDictionary<IntPair, 'Type> *
numRows : int *
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 numeric value.
- numRows Int32
- The number of rows in the matrix.
- numCols Int32
- The number of columns in the matrix.
See Also