Computes leading eigenvector of the adjacency matrix representing an undirected Graph.
Parameters:
A Snap.py undirected graph.
A leading eigenvector of the adjacency matrix representing the given Graph.
Return value:
The following example shows how to get leading eigenvector of the adjacency matrix for TUNGraph:
import snap
UGraph = snap.GenRndGnm(snap.PUNGraph, 100, 1000)
EigvV = snap.TFltV()
snap.GetEigVec(UGraph, EigvV)
for Val in EigvV:
print Val