|
SparseFromDictionary Method
|
Creates a sparse vector from a dictionary mapping indices to values.
Namespace:
Accord.Math
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static Sparse<double> FromDictionary(
IDictionary<int, int> dictionary
)
Public Shared Function FromDictionary (
dictionary As IDictionary(Of Integer, Integer)
) As Sparse(Of Double)
Request Example
View SourceParameters
- dictionary
- Type: System.Collections.GenericIDictionaryInt32, Int32
Return Value
Type:
SparseDoubleSee Also