Package jline.api

Class TRACE

java.lang.Object
jline.api.TRACE

public class TRACE extends Object
APIs for statistical analysis of trace data.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Matrix
    mtrace_mean(double[] trace, int ntypes, int[] type)
    Computes the mean of a trace, divided by types.
    static double
    trace_mean(double[] trace)
    Computes the overall mean of the trace data.
    static double
    trace_var(double[] trace)
    Computes the variance of the trace data.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TRACE

      public TRACE()
  • 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
    • trace_mean

      public static double trace_mean(double[] trace)
      Computes the overall mean of the trace data.
      Parameters:
      trace - the array containing the trace data
      Returns:
      the mean value of the trace data
    • trace_var

      public static double trace_var(double[] trace)
      Computes the variance of the trace data.
      Parameters:
      trace - the array containing the trace data
      Returns:
      the variance of the trace data