def sample(self):
return random.random()<EOL>
Generate and return a random number.

The value is sampled from a continuous uniform distribution between
0 and 1.

Returns
-------
float
    Random number generated.