On 2020-07-19 09:36, Hauke Rehr wrote:
If you don’t know about this and try to work with powers of two, switching to ?. someday since you want reproducible results, you might end up with very bad results even though you tested the statistical properties when you were still dealing with ?
For this use, retain ? but set a known seed with 9!:1 ?.'s PRNG is reset on every invocation, so there's nothing can be done to make it not have dubious results in a program that calls it more than once. #~. ?."0 ] 2 ^ i.20 7 #~. ?. ] 2 ^ i.20 18 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
