Raul - Are you showing us the correct thing? You define "unbiased" but show an error in "unbias". When I copy your definitions for the two verbs you define, they run for hundreds of millions of times with no error.
Regards, Devon On Tue, Feb 22, 2011 at 11:46 AM, Raul Miller <[email protected]> wrote: > From http://rosettacode.org/wiki/Unbias_a_random_generator > > biased=: 0 = ? > unbiased=: i.@# { ::$: 2 | 0 3 -.~ _2 #.\ 4&* biased@# ] > > unbias&.> 100#6 > |length error > > ... > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
