Computes top EigVals eigenvalues of the adjacency matrix representing the given undirected graph Graph.
Parameters:
An undirected Snap.py graph.
The number of eigenvalues.
The eigenvector of floating point values.
Return value:
The following example shows how to calcualte the top EigVals eigenvalues for TUNGraph:
import snap
UGraph = snap.GenRndGnm(snap.PUNGraph, 100, 1000)
EigVals = 5
PEigV = snap.TFltV()
snap.GetEigVals(UGraph, EigVals, PEigV)
for item in PEigV:
print item