Calculate the global number of triangles
GetGlobalNumberTriangles(SupraAdjacencyMatrix, Layers, Nodes)
SupraAdjacencyMatrix | the supra-adajcency matrix |
---|---|
Layers | scalar, number of layers |
Nodes | scalar, number of nodes |
number of triangles
De Domenico, M., Set al. (2013). Mathematical formulation of multilayer networks. Physical Review X, 3(4), 041022. doi 10.1103/PhysRevX.3.041022