Generate all combinations of the elements of x taken m at a time.
density of multinomial, and support functions
Generate all points on a hypercuboid lattice.
Computes the number of points on a (p, n)-simplex lattice
Generates all permutations of the elements of x
Generate random samples from multinomial distributions
Convert an x-encoded simplex-lattice point to a u-encoded simplex-lattice point
Generates all points on a (p,n) simplex lattice (i.e. a p-part composition of n).