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