Package jline.api.trace
Class Mtrace_forward_momentKt
-
- All Implemented Interfaces:
public final class Mtrace_forward_momentKt
-
-
Method Summary
Modifier and Type Method Description final static Matrixmtrace_forward_moment(DoubleArray T, IntArray A, IntArray orders, Integer norm)Computes the forward moments of a marked trace. -
-
Method Detail
-
mtrace_forward_moment
final static Matrix mtrace_forward_moment(DoubleArray T, IntArray A, IntArray orders, Integer norm)
Computes the forward moments of a marked trace.
- Parameters:
T- the inter-arrival timesA- the class labelsorders- vector with the orders of the moments to computenorm- 0 to return F_{i,c}: M_i = sum F_{i,c} 1 (default) to return F_{i,c}: M_i = sum F_{i,c} * p_c where: M_i is the class independent moment of order i F_{i,c} is the class-c forward moment of order i p_c is the probability of arrivals of class c- Returns:
the forward moments as a matrix F(c,i) = F_{i,c}
-
-
-
-