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

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:
T 
Type Constraints
T :new() 

Member Data Documentation

internal Dictionary<int, T> data = new Dictionary<int, T>() [protected]

internal data representation as dictionary


Property Documentation

T this[int x] [get]

Access an element of the vector.

Parameters:
x the index

The documentation for this class was generated from the following file:
Generated on Mon Nov 28 19:18:45 2011 for MyMediaLite by  doxygen 1.6.3