K = completeMultiPartite(R,n,m)
K = completeMultiPartite(R,L)
A complete multipartite graph is a graph with a partition of the vertices such that every pair of vertices, not both from the same partition, is an edge of the graph. The partitions can be specified by their number and size, by a list of sizes, or by an explicit partition of the variables. Not all variables of the ring need to be used.




When n is the number of variables and M = 1, we recover the complete graph.




The object completeMultiPartite is a method function.