gsl.RNG

Module Contents

class gsl.RNG.RNG(algorithm='ranlxs2', **kwds)

Encapsulation of the pseudo-random number generators in GSL

available
rng
float(self)

Return a random float in the range [0, 1)

int(self)

Return a random integer within the range of the generator

seed(self, seed=0)

Initialize the RNG with the given seed