SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <gsvd.h>
Public Member Functions | |
TNGraphMtx (const PNGraph &GraphPt) | |
TNGraphMtx (const TNGraphMtx &GraphMtx) | |
TNGraphMtx & | operator= (const TNGraphMtx &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 |
Public Member Functions inherited from TMatrix | |
TMatrix () | |
virtual | ~TMatrix () |
void | Multiply (const TFltVV &B, int ColId, TFltV &Result) const |
void | Multiply (const TFltV &Vec, TFltV &Result) const |
void | MultiplyT (const TFltVV &B, int ColId, TFltV &Result) const |
void | MultiplyT (const TFltV &Vec, TFltV &Result) const |
int | GetRows () const |
int | GetCols () const |
void | Transpose () |
Private Member Functions | |
bool | CheckNodeIds () |
Private Attributes | |
PNGraph | Graph |
Additional Inherited Members |
Directed 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.
TNGraphMtx::TNGraphMtx | ( | const PNGraph & | GraphPt | ) |
Definition at line 10 of file gsvd.cpp.
References CheckNodeIds(), and Graph.
|
inline |
|
private |
Definition at line 3 of file gsvd.cpp.
References TNGraph::GetNodes(), Graph, and TNGraph::IsNode().
Referenced by TNGraphMtx().
|
inline |
|
inlinevirtual |
Implements TMatrix.
Definition at line 14 of file gsvd.h.
References TNGraph::GetNodes().
|
inlinevirtual |
Implements TMatrix.
Definition at line 13 of file gsvd.h.
References TNGraph::GetNodes().
Implements TMatrix.
Definition at line 19 of file gsvd.cpp.
References Assert, TMatrix::GetRows(), TVVec< TVal, TSizeTy >::GetRows(), Graph, TVec< TVal, TSizeTy >::Len(), and TNGraph::NodeH.
Implements TMatrix.
Definition at line 33 of file gsvd.cpp.
References Assert, TMatrix::GetRows(), Graph, TVec< TVal, TSizeTy >::Len(), and TNGraph::NodeH.
Implements TMatrix.
Definition at line 47 of file gsvd.cpp.
References Assert, TMatrix::GetCols(), TVVec< TVal, TSizeTy >::GetRows(), Graph, TVec< TVal, TSizeTy >::Len(), and TNGraph::NodeH.
Implements TMatrix.
Definition at line 61 of file gsvd.cpp.
References Assert, TMatrix::GetRows(), Graph, TVec< TVal, TSizeTy >::Len(), and TNGraph::NodeH.
|
private |
Definition at line 7 of file gsvd.h.
Referenced by CheckNodeIds(), operator=(), PMultiply(), PMultiplyT(), and TNGraphMtx().