V=: Q*(%+/) 2 rnd N ?@# 0 N=:1000 Q=:345 +/V 345
#V 1000 R.E. Boss > -----Original Message----- > From: [email protected] [mailto:programming- > [email protected]] On Behalf Of Dan Bron > Sent: vrijdag 8 mei 2015 17:55 > To: [email protected] > Subject: [Jprogramming] Random distribution > > I have a quantity Q and I want to divide it into a vector V of N > randomly-sized chunks, such that N=#V and Q=+/V . > > Ideas? > > -Dan > > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
