f=. 4 : '(i^-x)*y!i=.i.9' NB. some program
   g=. 13 : '(i^-x)*y!i=.i.9' NB. The tacit version of f

 
   g 

(i.9) (^ * !~) [: - [





   6 f 4 NB. right


0 0 0 0 0.000244141 0.00032 0.000321502 0.000297495 0.000267029
   6 g 4 NB. wrong
0 0 0 0 0 0 0 0 0


Thanks!
Bo.



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to