Class Moment_joint_raw_from_factorial

java.lang.Object
jline.api.moment.Moment_joint_raw_from_factorial

public final class Moment_joint_raw_from_factorial extends Object
Joint raw moments from joint factorial moments.

Converts joint factorial moments into joint power (raw) moments, by the Stirling numbers of the second kind along every dimension. Inverse of moment_joint_factorial_from_raw.

Reference: A. Heindl and A. van de Liefvoort. Moment conversions for discrete distributions. PMCCS, 2003.

Since:
LINE 3.0
  • Method Details

    • moment_joint_raw_from_factorial

      public static double[] moment_joint_raw_from_factorial(double[] f, int[] dims)
      Converts joint factorial moments into joint raw 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 raw moments, same layout