summaryrefslogtreecommitdiff
path: root/scipy/basic/random.py
blob: 90cbd5cc70f60feff3d69b7bc0cd9e391e58658b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from scipy.lib.mtrand import *

# Some aliases:
ranf = random_sample
random = random_sample
sample = random_sample

def __RandomState_ctor():
    """Return a RandomState instance.
    
    This function exists solely to assist (un)pickling.
    """
    return RandomState()