Windowed Double List
constructor(sourceList: DoubleList, windowSize: Int, stepSize: Int = 1, partialWindows: Boolean = false)(source)
Parameters
source List
The original DoubleList.
window Size
The desired size of each window. Must be greater than 0.
step Size
The step size between consecutive windows. Defaults to 1.
partial Windows
Whether or not to include partial windows at the end of the list if any. Defaults to false.