On Sun, Nov 16, 2008 at 6:29 AM, Björn Helgason <[EMAIL PROTECTED]> wrote:
>   mean=.sum div count
>   'sum div count'=.+/`%`#
>   mean 3 4 5 2 7
> |domain error: count

  mean=.sum div count
  '`sum div count'=.+/`%`#
  mean 3 4 5 2 7
4.2

See also http://www.jsoftware.com/help/dictionary/d001.htm

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

Reply via email to