Python Programming/numpy

Numpy is a numeric library for python. It can be installed through the debian package python-numpy

Histogram

import numpy
mydata = [numpy.random.normal(0,1) for i in range(10000) ]
h, n = numpy.histogram( mydata , 100, (-5,5) )

See also

Last modified on 10 January 2011, at 08:12