A more general solution is {.^:(#@$) , which will strip all the dimensions
off the array.
Marshall
On Thu, Oct 20, 2011 at 7:34 AM, Raul Miller <[email protected]> wrote:
> {. gets the first item from an array.
>
> You might be wanting lim=. {.,y (which will always have lim be a rank 0
> array).
>
> But I do not have a good enough of a mental model of your data
> structures to say for sure what you want.
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm