> Running average:
>   n(+/%#)\

In the vein of Raul's earlier response to my message, we could make this 
expression more efficient (but perhaps less true to the original?) with:

    n&(+/\ % [)

(I think, anyway.  I didn't cheat and ask the interpreter ;)

-Dan

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

Reply via email to