Class Mtrace_mean

java.lang.Object
jline.api.trace.Mtrace_mean

public final class Mtrace_mean extends Object
  • Method Details

    • mtrace_mean

      public static Matrix mtrace_mean(double[] trace, int ntypes, int[] type)
      Computes the mean of a trace, divided by types.
      Parameters:
      trace - the array containing the trace data
      ntypes - the number of different types
      type - an array indicating the type of each element in the trace
      Returns:
      a matrix containing the mean values for each type