Package jline.api.trace
Class Mtrace_mean
java.lang.Object
jline.api.trace.Mtrace_mean
-
Method Summary
Modifier and TypeMethodDescriptionstatic Matrixmtrace_mean(double[] trace, int ntypes, int[] type) Computes the mean of a trace, divided by types.
-
Method Details
-
mtrace_mean
Computes the mean of a trace, divided by types.- Parameters:
trace- the array containing the trace datantypes- the number of different typestype- an array indicating the type of each element in the trace- Returns:
- a matrix containing the mean values for each type
-