Atom - s - Split (Length)
Characters: s
Tags: array , number , vectorize
Arity: dyadic
This atom is dyadic, which means it takes two arguments.
Functionality
Return x sliced into chunks of length y.
Details
Vectorizes over the right argument. If the length of x is not divisible by y, the last chunk will be shorter. Numbers are automatically cast to a range on the left. For example, 5 s 2 returns [[1, 2], [3, 4], [5]].