LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
moment_joint_raw_from_factorial.m
1function m = moment_joint_raw_from_factorial(f)
2% m = moment_joint_raw_from_factorial(f)
3%
4% Converts joint factorial moments into joint power (raw) moments, by the
5% Stirling numbers of the second kind along every dimension. Inverse of
6% moment_joint_factorial_from_raw.
7%
8% Input:
9% f: array of size (n_1+1)x...x(n_d+1) holding the joint 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
12%
13% Output:
14% m: array of the same size holding the joint raw moments
15%
16% Reference:
17% A. Heindl and A. van de Liefvoort. Moment conversions for discrete
18% distributions. PMCCS, 2003.
19
20m = moment_jointtrans(f, 'raw_from_factorial');
21end