SparseVector< T > Class Template Reference
Class for storing sparse vectors. Indexes are zero-based.
More...
List of all members.
Protected Attributes |
internal Dictionary< int, T > | data = new Dictionary<int, T>() |
| internal data representation as dictionary
|
Properties |
T | this [int x] [get] |
| Access an element of the vector.
|
Detailed Description
template<T>
class MyMediaLite::DataType::SparseVector< T >
Class for storing sparse vectors. Indexes are zero-based.
- Template Parameters:
-
Member Data Documentation
internal Dictionary<int, T> data = new Dictionary<int, T>() [protected] |
internal data representation as dictionary
Property Documentation
Access an element of the vector.
- Parameters:
-
The documentation for this class was generated from the following file: