Likewise, the dyads +//. and #/. are supported by special code 
http://www.jsoftware.com/help/release/key503.htm
but (+/%#)/. is not.  Another opportunity.

   ts=: 6!:2 , 7!:[EMAIL PROTECTED]
   
   x=: 1e6 [EMAIL PROTECTED] 1000
   y=: 0.1 * 1e6 [EMAIL PROTECTED] 2e9
   (x (+/%#)/. y) -: x (+//. % #/.) y
1
   ts 'x (+/%#)/. y'
0.318288 2.21142e7
   ts 'x (+//. % #/.) y'
0.0211703 24064
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to