Package jline.lib.butools.trace
Class LagCorrelationsFromTraceKt
-
- All Implemented Interfaces:
public final class LagCorrelationsFromTraceKt
-
-
Method Summary
Modifier and Type Method Description final static DoubleArraylagCorrelationsFromTrace(DoubleArray trace, Integer K)Returns the lag-k autocorrelation of a trace. final static DoubleArraylagkJointMomentsFromTrace(DoubleArray trace, Integer K)Returns the lag-k joint moments of a trace. -
-
Method Detail
-
lagCorrelationsFromTrace
final static DoubleArray lagCorrelationsFromTrace(DoubleArray trace, Integer K)
Returns the lag-k autocorrelation of a trace.
- Parameters:
trace- The trace dataK- The number of lags to compute (default 3)- Returns:
The lag-k autocorrelation function of the trace up to lag K
-
lagkJointMomentsFromTrace
final static DoubleArray lagkJointMomentsFromTrace(DoubleArray trace, Integer K)
Returns the lag-k joint moments of a trace.
- Parameters:
trace- The trace dataK- The number of lags to compute- Returns:
The lag-k joint moments of the trace
-
-
-
-