metawards.utils.create_thread_generators

metawards.utils.create_thread_generators(rng, nthreads)[source]

Return a set of random number generators, one for each thread - these are seeded using the next ‘nthreads’ random numbers drawn from the passed generator

If ‘nthreads’ is 1, 0 or None, then then just returns the passed ‘rng’