Store triples in a CSC matrix. More...
Public Member Functions | |
CSCTriple_Matrix (int columns, int length) | |
Initialise the matrix. | |
void | insertElement (T *triple) |
Insert a triple. | |
void | insertSwapElement (T *triple) |
Insert as Value, Index, Position. | |
void | insertWeightedElement (T *triple) |
Insert as Index, Position, Value. | |
void | insertSwapWeightedElement (T *triple) |
Insert as Position, Value, Index. |
Store triples in a CSC matrix.
This class is used to store triples in a CSC matrix. The interface allows triples to be provided and the content is stored in the CSC matrix using the term, document and frequency values.