SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
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(), and Graph.
|
inlinevirtual |
Implements TMatrix.
Definition at line 37 of file gsvd.h.
References TUNGraph::GetNodes(), and Graph.
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=(), PGetCols(), PGetRows(), PMultiply(), PMultiplyT(), and TUNGraphMtx().