Ok, try this: 1 2 3 2 1 </. 'abcde' +--+--+-+ |ae|bd|c| +--+--+-+
The nub of the left argument determines the number of items in the result, but it's not sufficient to determine what's in each box. Is this clearer? Thanks, -- Raul On Mon, Oct 14, 2019 at 1:24 PM 'Jim Russell' via Programming <[email protected]> wrote: > > Sorry, I'm still stuck on u=#. (Or "," or "<" or "[" ). I'll try to > understand some harder working verbs, perhaps + or ! or I. or e? > > > On Oct 14, 2019, at 12:18 PM, Raul Miller <[email protected]> wrote: > > > > On Mon, Oct 14, 2019 at 12:06 PM 'Jim Russell' via Programming > > <[email protected]> wrote: > >> Thank you Raul! I thought I was agreeing, until I got to the following: > >> > >>>> On Oct 14, 2019, at 11:40 AM, Raul Miller <[email protected]> wrote: > >>> > >>> So ... it's the "only the nub" which is relevant here, if you do not > >>> care about the calculation which produces the result. > >> > >> What calculation? What would be different if (I was allowed to) just > >> supply (~.x) as a left argument? (Assuming I didn't care to waste the > >> cycles calculating the nub when it, at least its size, is going fall out > >> as a result of looking up each of the eight argument rows). > >> > >> But I'll accept that I'm missing something; the alternate that Roger > >> suggested looks like it should do exactly what I was looking for. > > > > The X U/.Y calculation. > > > > The order and values of X matter for that calculation, since they control > > it. > > > > Thanks, > > > > -- > > 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
