Atom - - Split (Length, Overlapping)


Tags: array , number , vectorize

Arity: dyadic

This atom is dyadic, which means it takes two arguments.


Return overlapping slices of x of length y.


Vectorizes over the right argument. If the length of x is less than y, returns the empty list. Numbers are automatically cast to a range on the left. For example, 5 ṡ 3 returns [[1, 2, 3], [2, 3, 4], [3, 4, 5]].