part_adj_mat — Returns the adjacency matrix of the partition graph P of a graph G using its adjacency matrix.
part_adj_mat(M,Vlist) H = part_adj_mat(M,Vlist)
Adjacency matrix of the initial graph G.
A list of the desired partition blocks, this is a list of vectors where each one contains the number of the nodes for each block.
Adjacency matrix of the partition of the graph G.