rootpy/root_numpy — pull request #100 by ndawe (2013-10-02 10:14:51+00:00)
Title: [WIP] add random_sample

```python
>>> from root_numpy import random_sample
>>> from ROOT import TF1
>>> func = TF1("f1", "TMath::DiLog(x)")
>>> random_sample(func, 1000)
array([ 0.99989852, 0.43970852, 0.5705115 , 0.97854677, 0.51964853,
0.73164682, 0.98282679, 0.88439634, 0.76795273, 0.88216512,
0.89233477, 0.83862602, 0.60068312, 0.91425024, 0.75481075,
0.44693224, 0.72516186, 0.66421814, 0.50895077, 0.49965624,
0.1944623 , 0.61627213, 0.47799149, 0.97708492, 0.79278214,
0.95754354, 0.84247842, 0.74087198, 0.78091047, 0.46388632,
0.58345707, 0.37583206, 0.27784991, 0.83272692, 0.87464361,
0.82648565, 0.86859682, 0.34713946, 0.86083133, 0.36070911,
0.39358593, 0.74340931, 0.49361481, 0.57641338, 0.31819328,
...
```