| FloatCsrSparseMatrix(IDictionaryIntPair, Single, Int32) Constructor |
Constructs a FloatCSRSparseMat instance from the given coordinate
map format.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatCsrSparseMatrix(
IDictionary<IntPair, float> values,
int numCols
)
Public Sub New (
values As IDictionary(Of IntPair, Single),
numCols As Integer
)
public:
FloatCsrSparseMatrix(
IDictionary<IntPair, float>^ values,
int numCols
)
new :
values : IDictionary<IntPair, float32> *
numCols : int -> FloatCsrSparseMatrix
Parameters
- values IDictionaryIntPair, Single
- 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