Package jline.api.moment
Class Moment_joint_upfactorial_from_raw
java.lang.Object
jline.api.moment.Moment_joint_upfactorial_from_raw
Joint upward-factorial moments from joint raw moments.
Converts joint power (raw) moments into the joint upward-factorial moments f+_(i_1,...,i_d) = E[prod_j N_j(N_j+1)...(N_j+i_j-1)], by the Stirling cycle 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_raw(double[] m, int[] dims) Converts joint raw moments into joint upward-factorial moments.
-
Method Details
-
moment_joint_upfactorial_from_raw
public static double[] moment_joint_upfactorial_from_raw(double[] m, int[] dims) Converts joint raw moments into joint upward-factorial moments.- Parameters:
m- flattened joint raw 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
-