| CompressedSparseRowTInitializeData Method |
Initialized the compressed row data structures from the given coordinate
map format.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void InitializeData(
IDictionary<IntPair, T> values,
int numRows,
int numCols,
bool isUpperTriangular = false
)
Public Sub InitializeData (
values As IDictionary(Of IntPair, T),
numRows As Integer,
numCols As Integer,
Optional isUpperTriangular As Boolean = false
)
public:
virtual void InitializeData(
IDictionary<IntPair, T>^ values,
int numRows,
int numCols,
bool isUpperTriangular = false
) sealed
abstract InitializeData :
values : IDictionary<IntPair, 'T> *
numRows : int *
numCols : int *
?isUpperTriangular : bool
(* Defaults:
let _isUpperTriangular = defaultArg isUpperTriangular false
*)
-> unit
override InitializeData :
values : IDictionary<IntPair, 'T> *
numRows : int *
numCols : int *
?isUpperTriangular : bool
(* Defaults:
let _isUpperTriangular = defaultArg isUpperTriangular false
*)
-> unit
Parameters
- values IDictionaryIntPair, T
- The values stored as a sorted dictionary. The row-column pair is the
key and the non-zero entry is the values.
- numRows Int32
- The number of rows in the matrix.
- numCols Int32
- The number of columns in the matrix.
- isUpperTriangular Boolean (Optional)
- Whether the data is upper triangular.
Implements
ISparseMatrixStorageTInitializeData(IDictionaryIntPair, T, Int32, Int32, Boolean)See Also