71 namespace TSnapDetail {
void GetEigVals(const PUNGraph &Graph, const int &EigVals, TFltV &EigValV)
Computes top EigVals eigenvalues of the adjacency matrix representing a given undirected Graph...
double GetInvParticipRatEig(const TFltV &EigVec)
void GetInvParticipRat(const PUNGraph &Graph, int MaxEigVecs, int TimeLimit, TFltPrV &EigValIprV)
void GetEigVec(const PUNGraph &Graph, TFltV &EigVecV)
Computes the leading eigenvector of the adjacency matrix representing a given undirected Graph...
int GetNodes() const
Returns the number of nodes in the graph.
int GetNodes() const
Returns the number of nodes in the graph.
TNGraphMtx(const PNGraph &GraphPt)
TNGraphMtx & operator=(const TNGraphMtx &GraphMtx)
void GetSngVec(const PNGraph &Graph, TFltV &LeftSV, TFltV &RightSV)
Computes the leading left and right singular vector of the adjacency matrix representing a directed G...
TUNGraphMtx(const PUNGraph &GraphPt)
TUNGraphMtx(const TUNGraphMtx &GraphMtx)
void PMultiplyT(const TFltVV &B, int ColId, TFltV &Result) const
TNGraphMtx(const TNGraphMtx &GraphMtx)
void PMultiplyT(const TFltVV &B, int ColId, TFltV &Result) const
TUNGraphMtx & operator=(const TUNGraphMtx &GraphMtx)
void GetSngVals(const PNGraph &Graph, const int &SngVals, TFltV &SngValV)
Computes largest SngVals singular values of the adjacency matrix representing a directed Graph...
void PMultiply(const TFltVV &B, int ColId, TFltV &Result) const
void PMultiply(const TFltVV &B, int ColId, TFltV &Result) const