Class Mtrace_moment

java.lang.Object
jline.api.trace.Mtrace_moment

public final class Mtrace_moment extends Object
  • Method Details

    • mtrace_moment

      public static Matrix mtrace_moment(double[] T, int[] A, int[] orders, int after, int norm)
      Computes the empirical class-dependent moments of a multi-class trace.
      Parameters:
      T - vector of inter-arrival times
      A - vector of class labels
      orders - vector with the orders of the moments to compute
      after - 0 for Horvath, 1 for Bucholz variables
      norm - 0 to not normalize, 1 to normalize
      Returns:
      matrix of moments
    • mtrace_moment

      public static Matrix mtrace_moment(double[] T, int[] A, int[] orders)
    • mtrace_moment

      public static Matrix mtrace_moment(double[] T, int[] A, int[] orders, int after)