sum.partitions
returns the sum on all I subset of [1,p], with |I|>m.
# S3 method for partitions
sum(A, N, K, p, m)
double : the result of the sum.
a matrix with p rows and K column. Each row contains the number of marked partition in 1<=k<=K groups for one of the p children of a given node.
a matrix with p rows and K column. Each row contains the number of partition in 1<=k<=K groups for one of the p children of a given node
an integer. The number of groups wanted.
an integer. The number of daughters of a node.
an integer. The minimum cardinal of a subset allowed.
This function applies sum.partitions.cardFixed
to all integer between
m and p, and sum the results.