Atom - z
- Zip With Filler
Characters: z
Arity: dyadic
This atom is dyadic, which means it takes two arguments.
Functionality
Transpose the rows and columns of a 2D array x
. If x
is not rectangular, y
is used as filler.
Details
Note that this does not vectorize over the right argument - [1,2,3],[4],[5,6] z [1,2]
gives [[1, 4, 5], [2, [1, 2], 6], [3, [1, 2], [1, 2]]]
.