Package jline.api.moment
Class Moment_joint_factorial_from_upfactorial
java.lang.Object
jline.api.moment.Moment_joint_factorial_from_upfactorial
Joint factorial moments from joint upward-factorial moments.
Converts joint upward-factorial moments into joint factorial moments, by the signed Lah numbers along every dimension.
Reference: A. Heindl and A. van de Liefvoort. Moment conversions for discrete distributions. PMCCS, 2003.
- Since:
- LINE 3.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic double[]moment_joint_factorial_from_upfactorial(double[] fp, int[] dims) Converts joint upward-factorial moments into joint factorial moments.
-
Method Details
-
moment_joint_factorial_from_upfactorial
public static double[] moment_joint_factorial_from_upfactorial(double[] fp, int[] dims) Converts joint upward-factorial moments into joint factorial moments.- Parameters:
fp- flattened joint upward-factorial moments in row-major order, of extent dims[0]*...*dims[d-1]dims- extents of the array, dims[j] = n_j+1- Returns:
- flattened joint factorial moments, same layout
-