Because you'd formed D by saying D=: ,<blah

It's better to understand what happened before devising
a workaround.



----- Original Message -----
From: Brian Schott <[email protected]>
Date: Monday, February 8, 2010 22:17
Subject: Re: [Jprogramming] combine the first 2 axes when 2nd shape is 1
To: Programming forum <[email protected]>

> But why is the shape of the unboxed D 1 2 1 6 6?
> This example of numeric data works without the extra axis.
> 
>    $,/><i. 2 1 6 6
> 2 6 6
> 
> Anyhow, it looks like my workaround is this.
>   $ ,/,/ >D
> 2 6 6
> 
> Thanks, again, Ric.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to