from scipy import *
from scipy import stats
from scipy import random 
import pylab

####################################################

x = random.random_sample(10)
print x

####################################################

pylab.hist(x, normed=True)
pylab.show()

####################################################

floor(3.9)

####################################################

def gammaPDF(x, alpha, lam):
    return stats.gamma(alpha).pdf(x*lam)*lam

