Hello,

I am convinced that this must be trivial, but I wasn't able to find in the documentation how to reshape a list to a table without manually extracting the length.

in summary, is there a more direct way of doing:

lst =. i. 6

((2,~2%~#) $ ]) lst

for a list of arbitrary length?

Thanks!

Raoul

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to