Don't you need to change the x to y? i=: 13 :'*:@+/y' i i.4 456976 i=: 3 :'*:@+/y' i i.4 456976 i=: 3 :'*:@+/x' i i.4 676
On Sun, Feb 5, 2012 at 5:11 AM, Linda Alvord <lindaalv...@verizon.net>wrote: > My goal has been to translate from expressions with @ to ones without it. > > > > f=: 13 :'x?@$y' > > 2 3 f 6 > > 2 4 2 > 3 2 5 > > > > g=: 13 :'x?$y' > > 2 3 g 6 > > |length error: g > | 2 3 g 6 > > > > h=: 13 :'?x$y' > > 2 3 h 6 > > 4 3 1 > 5 0 1 > > > > f > > ?@$ > > h > > [: ? $ > > > > Can you rewrite this without @ ? > > > > i=: 13 :'*:@+/x' > > i i.4 > > 456976 > > > > > > Linda > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm