1function bm = moment_joint_negbinomial_from_upfactorial(fp)
2% bm = moment_joint_negbinomial_from_upfactorial(fp)
4% Converts joint upward-factorial moments into the joint negative-binomial
5% moments b-_(i_1,...,i_d) = E[prod_j nchoosek(N_j+i_j-1,i_j)] = f+_(i) /
9% fp: array of size (n_1+1)x...x(n_d+1) holding the joint upward-factorial
10% moments, element (i_1+1,...,i_d+1) being the moment of
11% multi-order (i_1,...,i_d) and element 1 being 1
14% bm: array of the same size holding the joint negative-binomial moments
17% A. Heindl and A. van de Liefvoort. Moment conversions for discrete
18% distributions. PMCCS, 2003.
20bm = moment_jointtrans(fp, 'negbinomial_from_upfactorial');