On Fri, Aug 21, 2009 at 8:08 AM, Ian Gorse<[email protected]> wrote: > I never knew &.> would perform 'each' of the left arguments to the > right argument : > > (i.10) |. &.> < 0 0 1 0 0 NB. Rotates the boxed right argument, using > each of the left arguments (i.10) > > I thought it only worked "the other way around" : > > 1 |. &.> 0 0 1 0 0; 0 0 0 0 1 NB. Rotates each of the boxed right > arguments, by the left argument
F&.> verbs are rank 0, so if you are working with a rank 0 noun, it will be used with every atom from the other noun. The underlying concept works just like this: 1 2 3 + 10 11 12 13 -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
