Package jline.api.trace
Class TraceSkew
java.lang.Object
jline.api.trace.TraceSkew
-
Method Summary
Modifier and TypeMethodDescriptionstatic doubletrace_skew(double[] trace) Computes the skewness of the trace data using Apache Commons Math.static doubletrace_skew(Collection<Double> trace) Computes the skewness of the trace data using Apache Commons Math.static doubletrace_skew(List<Double> trace) Computes the skewness of the trace data using Apache Commons Math.
-
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
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
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
-