SNAP Library, User Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
Inherits TMatrix.
Public Member Functions | |
TSparseColMatrix () | |
TSparseColMatrix (TVec< TIntFltKdV > _ColSpVV) | |
TSparseColMatrix (TVec< TIntFltKdV > _ColSpVV, const int &_RowN, const int &_ColN) | |
void | Save (TSOut &SOut) |
void | Load (TSIn &SIn) |
Public Attributes | |
int | RowN |
int | ColN |
TVec< TIntFltKdV > | ColSpVV |
Protected Member Functions | |
virtual void | PMultiply (const TFltVV &B, int ColId, TFltV &Result) const |
virtual void | PMultiply (const TFltV &Vec, TFltV &Result) const |
virtual void | PMultiplyT (const TFltVV &B, int ColId, TFltV &Result) const |
virtual void | PMultiplyT (const TFltV &Vec, TFltV &Result) const |
int | PGetRows () const |
int | PGetCols () const |
TSparseColMatrix::TSparseColMatrix | ( | ) | [inline] |
TSparseColMatrix::TSparseColMatrix | ( | TVec< TIntFltKdV > | _ColSpVV | ) | [inline] |
TSparseColMatrix::TSparseColMatrix | ( | TVec< TIntFltKdV > | _ColSpVV, |
const int & | _RowN, | ||
const int & | _ColN | ||
) | [inline] |
void TSparseColMatrix::Load | ( | TSIn & | SIn | ) | [inline] |
int TSparseColMatrix::PGetCols | ( | ) | const [inline, protected, virtual] |
Implements TMatrix.
int TSparseColMatrix::PGetRows | ( | ) | const [inline, protected, virtual] |
Implements TMatrix.
void TSparseColMatrix::PMultiply | ( | const TFltVV & | B, |
int | ColId, | ||
TFltV & | Result | ||
) | const [protected, virtual] |
Implements TMatrix.
void TSparseColMatrix::PMultiply | ( | const TFltV & | Vec, |
TFltV & | Result | ||
) | const [protected, virtual] |
Implements TMatrix.
void TSparseColMatrix::PMultiplyT | ( | const TFltVV & | B, |
int | ColId, | ||
TFltV & | Result | ||
) | const [protected, virtual] |
Implements TMatrix.
void TSparseColMatrix::PMultiplyT | ( | const TFltV & | Vec, |
TFltV & | Result | ||
) | const [protected, virtual] |
Implements TMatrix.
void TSparseColMatrix::Save | ( | TSOut & | SOut | ) | [inline] |