Home   >   User Resources   >   Online Help   >   apaGraph.Communities.CommunityLaplacian
 

 

Function index Version 3.0.0

apaGraph.Communities.CommunityLaplacian(Edges, Communities)

Excel=apaGraph.Communities.CommunityLaplacian(Edges, Communities)

Result

Returns the community Laplacian matrix L = D - A induced by a node-level graph and a community assignment, where A is the community adjacency matrix and D the diagonal matrix of community degrees. Rows and columns follow the sorted community indices.

Syntax

Edges: edge list; the first two columns contain the node indices, additional columns are ignored

Communities: community membership table; the first column contains the 1-based community index, the second column the 1-based node index