This code computes odds for a hypergeometric distribution
   u=.!/
   v=.i.@>:
   2(u&(-v)*u&v)4
6 3 1 0 0
0 3 4 3 0
0 0 1 3 6
Can the expression
   u&(-v)*u&v
be simplified?



      ___________________________________________________________ 
Skal du købe ny bil? Sammenlign priser på brugte biler med Kelkoo og find et 
godt tilbud! - Se mere her http://dk.yahoo.com/r/pat/mmb
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to