auxiliary/hmmer-3.1b1/easel/esl_random.c
/* mersenne_seed_table()
 * Initialize the state of the RNG from a seed.
 * Uses the knuth linear congruential generator.
 */
mersenne_seed_table()
Initialize the state of the RNG from a seed.
Uses the knuth linear congruential generator.
mersenne_seed_table () Initialize the state of the RNG from a seed . Uses the knuth linear congruential generator .
static void
mersenne_seed_table(ESL_RANDOMNESS *r, uint32_t seed)
{
  int z;
  r->seed  = seed;
  r->mt[0] = seed;
  for (z = 1; z < 624; z++)
    r->mt[z] = 69069 * r->mt[z-1];
  return;
}
static void mersenne_seed_table ( ESL_RANDOMNESS * r , uint32_t seed ) { int z ; r -> seed = seed ; r -> mt [ 0 ] = seed ; for ( z = 1 ; z < 624 ; z ++ ) r -> mt [ z ] = 69069 * r -> mt [ z - 1 ] ; return ; }
mersenne_seed_table()
 Initialize the state of the RNG from a seed.
mersenne_seed_table () Initialize the state of the RNG from a seed .