In Python, you can zip more than two arrays: the metaphor of a zipper was always a stretch. The word “zip” is common, short, close enough in meaning to “interleave,” and has a convenient inverse. “Pack” would probably work too, but “imbricate” would have been a fun choice!
In Python, you can
zip
more than two arrays: the metaphor of a zipper was always a stretch. The word “zip” is common, short, close enough in meaning to “interleave,” and has a convenient inverse. “Pack” would probably work too, but “imbricate” would have been a fun choice!Or transpose?
If you think of matrices as lists of vectors, yeah, that works. But I think that’s akin to thinking of integers as strings of digits.