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 | |
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 |
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 | |
PUNGraph | Graph |
Additional Inherited Members |
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 | ) |
Definition at line 83 of file gsvd.cpp.
References CheckNodeIds(), TUNGraph::GetNodes(), and Graph.
|
inline |
|
private |
Definition at line 76 of file gsvd.cpp.
References TUNGraph::GetNodes(), Graph, and TUNGraph::IsNode().
Referenced by TUNGraphMtx().
|
inline |
|
inlinevirtual |
Implements TMatrix.
Definition at line 38 of file gsvd.h.
References TUNGraph::GetNodes().
|
inlinevirtual |
Implements TMatrix.
Definition at line 37 of file gsvd.h.
References TUNGraph::GetNodes().
Implements TMatrix.
Definition at line 99 of file gsvd.cpp.
References Assert, TMatrix::GetRows(), TVVec< TVal, TSizeTy >::GetRows(), Graph, TVec< TVal, TSizeTy >::Len(), and TUNGraph::NodeH.
Implements TMatrix.
Definition at line 113 of file gsvd.cpp.
References Assert, TMatrix::GetRows(), Graph, TVec< TVal, TSizeTy >::Len(), and TUNGraph::NodeH.
Implements TMatrix.
Definition at line 127 of file gsvd.cpp.
References Assert, TMatrix::GetCols(), TVVec< TVal, TSizeTy >::GetRows(), Graph, TVec< TVal, TSizeTy >::Len(), and TUNGraph::NodeH.
Implements TMatrix.
Definition at line 141 of file gsvd.cpp.
References Assert, TMatrix::GetRows(), Graph, TVec< TVal, TSizeTy >::Len(), and TUNGraph::NodeH.
|
private |
Definition at line 31 of file gsvd.h.
Referenced by CheckNodeIds(), operator=(), PMultiply(), PMultiplyT(), and TUNGraphMtx().