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 | |
TUNGraphMtx (const PUNGraph &GraphPt) | |
TUNGraphMtx (const TUNGraphMtx &GraphMtx) | |
TUNGraphMtx & | operator= (const TUNGraphMtx &GraphMtx) |
int | PGetRows () const |
int | PGetCols () const |
void | PMultiply (const TFltVV &B, int ColId, TFltV &Result) const |
void | PMultiply (const TFltV &Vec, TFltV &Result) const |
void | PMultiplyT (const TFltVV &B, int ColId, TFltV &Result) const |
void | PMultiplyT (const TFltV &Vec, TFltV &Result) const |
Undirected Graph Adjacency Matrix represented as sparse {0,1} row matrix. The class is used for computing spectral properties of graph adjacency matrices. The class assumes that node IDs have the range 0...Nodes-1.
TUNGraphMtx::TUNGraphMtx | ( | const PUNGraph & | GraphPt | ) |
TUNGraphMtx::TUNGraphMtx | ( | const TUNGraphMtx & | GraphMtx | ) | [inline] |
TUNGraphMtx& TUNGraphMtx::operator= | ( | const TUNGraphMtx & | GraphMtx | ) | [inline] |
int TUNGraphMtx::PGetCols | ( | ) | const [inline, virtual] |
Implements TMatrix.
int TUNGraphMtx::PGetRows | ( | ) | const [inline, virtual] |
Implements TMatrix.
void TUNGraphMtx::PMultiply | ( | const TFltVV & | B, |
int | ColId, | ||
TFltV & | Result | ||
) | const [virtual] |
Implements TMatrix.
void TUNGraphMtx::PMultiply | ( | const TFltV & | Vec, |
TFltV & | Result | ||
) | const [virtual] |
Implements TMatrix.
void TUNGraphMtx::PMultiplyT | ( | const TFltVV & | B, |
int | ColId, | ||
TFltV & | Result | ||
) | const [virtual] |
Implements TMatrix.
void TUNGraphMtx::PMultiplyT | ( | const TFltV & | Vec, |
TFltV & | Result | ||
) | const [virtual] |
Implements TMatrix.