Package jline.lib.butools.trace
Class CdfFromTrace
java.lang.Object
jline.lib.butools.trace.CdfFromTrace
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResult class for CdfFromTrace containing x and y arrays. -
Method Summary
Modifier and TypeMethodDescriptionstatic CdfFromTrace.CdfResultcdfFromTrace(double[] trace) Returns the empirical distribution function of the trace.static CdfFromTrace.CdfResultcdfFromWeightedTrace(double[] trace, double[] weights) Returns the empirical distribution function of a weighted trace.
-
Method Details
-
cdfFromTrace
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
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
-