Hi.
I want a clean, and relatively efficient method to do the following:
I have an array of length, n*m and I want to make it an array of
length m, where each member is an array of length n.
Example: n=2, m=3
[0, 1, 2, 3, 4, 5] ==> [[0, 1], [2, 3], [4, 5]]
Anyone?
--
Moshe Zadka <mzadka@geocities.com>.
QOTD: What fun to me! I'm not signing permanent.
I want a clean, and relatively efficient method to do the following:
I have an array of length, n*m and I want to make it an array of
length m, where each member is an array of length n.
Example: n=2, m=3
[0, 1, 2, 3, 4, 5] ==> [[0, 1], [2, 3], [4, 5]]
Anyone?
--
Moshe Zadka <mzadka@geocities.com>.
QOTD: What fun to me! I'm not signing permanent.