WindowedFloatList

constructor(sourceList: FloatList, windowSize: Int, stepSize: Int = 1, partialWindows: Boolean = false)(source)

Parameters

sourceList

The original FloatList.

windowSize

The desired size of each window. Must be greater than 0.

stepSize

The step size between consecutive windows. Defaults to 1.

partialWindows

Whether or not to include partial windows at the end of the list if any. Defaults to false.