blob: 39607f9938e562813017cf55cf4772eeb3a36a05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# To get sub-modules
from info import __doc__, __all__
from mtrand import *
# Some aliases:
ranf = random = sample = random_sample
__all__.extend(['ranf','random','sample'])
def __RandomState_ctor():
"""Return a RandomState instance.
This function exists solely to assist (un)pickling.
"""
return RandomState()
from scipy.testing import ScipyTest
test = ScipyTest().test
|