1function fp = moment_joint_upfactorial_from_factorial(f)
2% fp = moment_joint_upfactorial_from_factorial(f)
4% Converts joint factorial moments into joint upward-factorial moments, by
5% the Lah numbers along every dimension.
8% f: array of size (n_1+1)x...x(n_d+1) holding the joint factorial
9% moments, element (i_1+1,...,i_d+1) being the moment of
10% multi-order (i_1,...,i_d) and element 1 being 1
13% fp: array of the same size holding the joint upward-factorial moments
16% A. Heindl and A. van de Liefvoort. Moment conversions for discrete
17% distributions. PMCCS, 2003.
19fp = moment_jointtrans(f, 'upfactorial_from_factorial');