On Wed, Aug 19, 2009 at 4:17 PM, Raul Miller<[email protected]> wrote: > On Wed, Aug 19, 2009 at 10:12 AM, Zsbán Ambrus<[email protected]> wrote: >> ([^2:)+(2**)+(]^2:) >> ((2^~[)+(2**)+(2^~])) >> (^&2...@[+(2**)+^&2...@]) >> (*:@[+(2**)+*:@]) > > Note that these are not equivalent (the first > one gives a different result than the later > examples).
Are you sure you haven't just forgotten a pair of parenthesis? 3 7 (2^~[)+(2**)+(2^~]) 9 6 9 49 3 7 (([^2:)+(2**)+(]^2:)) 9 6 144 169 3 7 ((2^~[)+(2**)+(2^~])) 9 6 144 169 3 7 (^&2...@[+(2**)+^&2...@]) 9 6 144 169 3 7 (*:@[+(2**)+*:@]) 9 6 144 169 Ambrus ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
