n=: ;m

Thanks,

-- 
Raul


On Sun, Feb 18, 2018 at 4:02 AM, Arnab Chakraborty <[email protected]> wrote:
> Hi,
>
>    I have a list of boxes like
>
>    m=. 1; 2 3 5; 4 5
>
> All the boxes contain lists whose items have the same shape. So it is
> meaningful to make a combined list, eg convert m to
>
> n=.1, 2 3 5, 4 5
>
> As the individual lists differ in length, using >"0 produces unwanted
> padding.
>
> The brute force approach
>
> (>0{m), etc
>
> works. But I am looking for a smart solution.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to