update.partitionsNumber.gen: Update formula in the general case
Description
update.partitionsNumber.gen apply the actualisation formula to get
Nk and Ak of a node given its daughters.
Usage
update.partitionsNumber.gen(daughtersParams, ...)
Arguments
daughtersParams
: matrix with 2*npart columns. Each row contains
the result of partitionsNumber for the children of a given node
Value
vector of size 2*npart. For k=1:npart it contains the number of
partitions with k groups compatible with the sub tree starting at the
current node ; and for k=(npart+1):2*npart, it contains the number of
"marqued" partitions with (k-npart) groups compatible with the sub tree
starting at the current node.
Details
Uses functions sum.partitions and sum.simplex to compute
the needed sums.