Calculate the global number of triangles

GetGlobalNumberTriangles(SupraAdjacencyMatrix, Layers, Nodes)

Arguments

SupraAdjacencyMatrix

the supra-adajcency matrix

Layers

scalar, number of layers

Nodes

scalar, number of nodes

Value

number of triangles

References

De Domenico, M., Set al. (2013). Mathematical formulation of multilayer networks. Physical Review X, 3(4), 041022. doi 10.1103/PhysRevX.3.041022