Class TraceSkew

java.lang.Object
jline.api.trace.TraceSkew

public final class TraceSkew extends Object
  • Method Details

    • trace_skew

      public static double trace_skew(double[] trace)
      Computes the skewness of the trace data using Apache Commons Math. This uses the same bias as MATLAB when calling skewness(data,0).
      Parameters:
      trace - the array containing the trace data
      Returns:
      the skewness value of the trace data
    • trace_skew

      public static double trace_skew(Collection<Double> trace)
      Computes the skewness of the trace data using Apache Commons Math. This uses the same bias as MATLAB when calling skewness(data,0).
      Parameters:
      trace - the collection containing the trace data
      Returns:
      the skewness value of the trace data
    • trace_skew

      public static double trace_skew(List<Double> trace)
      Computes the skewness of the trace data using Apache Commons Math. This uses the same bias as MATLAB when calling skewness(data,0).
      Parameters:
      trace - the list containing the trace data
      Returns:
      the skewness value of the trace data