Package jline.api.trace
Class Mtrace_momentKt
-
- All Implemented Interfaces:
public final class Mtrace_momentKt
-
-
Method Summary
Modifier and Type Method Description final static Matrixmtrace_moment(DoubleArray T, IntArray A, IntArray orders, Integer after, Integer norm)Computes the empirical class-dependent moments of a multi-class trace. -
-
Method Detail
-
mtrace_moment
final static Matrix mtrace_moment(DoubleArray T, IntArray A, IntArray orders, Integer after, Integer norm)
Computes the empirical class-dependent moments of a multi-class trace.
- Parameters:
T- vector of inter-arrival timesA- vector of class labelsorders- vector with the orders of the moments to computeafter- 0 to compute moments of Horvath variables 1 to compute moments of Bucholz variablesnorm- 0 to not normalize, M_i = sum M_{i,c} 1 to normalize, M_i = sum M_{i,c} * g_c where M_i is the class independent moment of order i M_{i,c} is the class c moment of order i g_c is the fraction of arrivals of class c- Returns:
matrix of moments
-
-
-
-