Package jline.api.moment
Class Moment_joint_upfactorial_from_factorial
java.lang.Object
jline.api.moment.Moment_joint_upfactorial_from_factorial
Joint upward-factorial moments from joint factorial moments.
Converts joint factorial moments into joint upward-factorial moments, by the 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_upfactorial_from_factorial(double[] f, int[] dims) Converts joint factorial moments into joint upward-factorial moments.
-
Method Details
-
moment_joint_upfactorial_from_factorial
public static double[] moment_joint_upfactorial_from_factorial(double[] f, int[] dims) Converts joint factorial moments into joint upward-factorial moments.- Parameters:
f- flattened joint 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 upward-factorial moments, same layout
-