Sliding Window
PureSlidingWindowReturns all contiguous sub-arrays of the given window size.
Type: Pure (no side effects)
Category: Fortuna|Array & Collection
Keywords: array & collection
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Array | TArray<float> | — | Array parameter |
| WindowSize | int | — | WindowSize parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | TArray<TArray<float>> | ReturnValue output |
Example Use Cases
Example 1
Analyze trends in score history.
Example 2
Moving average calculation over data points.