Compute the default binary partition used in CoDaPack's software
cdp_partition(ncomp)
ncomp
number of parts
matrix
cdp_partition(4)