Dear J Forum:
I want to unbox the columns of a table. Take the following table:
table =. ,. each <"1 & |: i. 4 3
What I want is equivalent to:
(>0{table) ,. (>1{table) ,. (>2{table)
But I want to do it with a variable number of columns. After much trial and
error I've managed to do it with
> (,. each) / table
But is there a better solution? Thanks.
Sincerely,
Leigh
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
- [Jprogramming] Unboxing Columns Leigh J. Halliwell
- Re: [Jprogramming] Unboxing Columns Devon McCormick
- Re: [Jprogramming] Unboxing Columns Dan Bron
- RE: [Jprogramming] Unboxing Columns Leigh J. Halliwell
- Re: [Jprogramming] Unboxing Columns Devon McCormick
- Re: [Jprogramming] Unboxing Columns Dan Bron
- Re: [Jprogramming] Unboxing Colum... Devon McCormick
- Re: [Jprogramming] Unboxing C... Dan Bron
- Re: [Jprogramming] Unboxi... Dan Bron
- Re: [Jprogramming] Unboxi... Devon McCormick
- Re: [Jprogramming] Unboxing Columns neitzel
