Package jline.lib.butools.trace
Class CdfFromTraceKt
-
- All Implemented Interfaces:
public final class CdfFromTraceKt
-
-
Method Summary
Modifier and Type Method Description final static CdfResultcdfFromTrace(DoubleArray trace)Returns the empirical distribution function of the trace. final static CdfResultcdfFromWeightedTrace(DoubleArray trace, DoubleArray weights)Returns the empirical distribution function of a weighted trace. -
-
Method Detail
-
cdfFromTrace
final static CdfResult cdfFromTrace(DoubleArray trace)
Returns the empirical distribution function of the trace.
- Parameters:
trace- The trace data- Returns:
CdfResult containing x (points) and y (values) of the empirical CDF
-
cdfFromWeightedTrace
final static CdfResult cdfFromWeightedTrace(DoubleArray trace, DoubleArray weights)
Returns the empirical distribution function of a weighted trace.
- Parameters:
trace- The trace dataweights- The weights for each sample- Returns:
CdfResult containing x (points) and y (values) of the empirical CDF
-
-
-
-