 | ISparseMatrixStorageTInitializeData Method |
Initialze the data in self with the given sparse data in coordinate format.
Namespace:
CenterSpace.NMath.Core
Assembly:
NMath (in NMath.dll) Version: 7.4
Syntaxvoid InitializeData(
IDictionary<IntPair, T> values,
int numRows,
int numCols
)
Sub InitializeData (
values As IDictionary(Of IntPair, T),
numRows As Integer,
numCols As Integer
)
void InitializeData(
IDictionary<IntPair, T>^ values,
int numRows,
int numCols
)
abstract InitializeData :
values : IDictionary<IntPair, 'T> *
numRows : int *
numCols : int -> unit
Parameters
- values
- Type: System.Collections.GenericIDictionaryIntPair, T
Nonzero values. The keys are the row-column position and
the value is the numerical value at that position. - numRows
- Type: SystemInt32
The number of rows in the matrix. - numCols
- Type: SystemInt32
The number of columns in the matrix.
See Also