On Fri, May 8, 2015 at 2:40 PM, Dan Bron <[email protected]> wrote:
> Joe Bogner wrote:
>>  +/ every ( (([: /:~ [: ? N&#) I. i.) </. #&1) Q
>
> Yes, I. does seem germane to me, but I tried this verb and it seemed to
> produce vectors of different lengths at each iteration.  I need the result
> to be exactly and always N numbers long, and their sum to be exactly and
> always Q .
>

OK, I misunderstood. If N=10,I thought you wanted to randomly fill 10
buckets with 1s between 0 and Q
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to