Funny you should mention that! I just wrote invfunc =: ^:_1 10&#. invfunc 12345 to test my understanding of it. Didn't know it was already in a lib.
May I ask - slightly OT - however, <dumb_q> Why is invfunc postfixed? Surely with J's l2r evaluation (invfunc 10&#.) NNNN would be what first springs to mind? </dumb_q> On Sat, 2010-08-14 at 10:18 +1200, Sherlock, Ric wrote: > > For the same reason I prefer to use: > 10&#.inv > inv is defined by the standard library > inv > ^:_1 > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
