rna_majiq.rng_resize
- rna_majiq.rng_resize(n)
Resize rng pools to allow n simultaneous threads
Resize rng pools to allow n simultaneous threads. There are two separate rng pools in majiq-v3, one for nm.beta_mixture, and another for nm.internals. This is a helper function that resizes both pools.
- Parameters:
n (
int
) – The number of random number generators that can be simultaneously acquired (should be equal to the number of threads performing random number generation)