diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-10-07 20:19:55 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-10-07 20:19:55 +0000 |
commit | 52c686c981609fdb2e0e45aba16626a7e14cc3d4 (patch) | |
tree | 4ae5bdea24a4a3cab5466ea4c9ca467c09230bb6 /scipy/basic/random.py | |
parent | 4d0a78f748058792ab4b2d9cb394589372d0e740 (diff) | |
download | numpy-52c686c981609fdb2e0e45aba16626a7e14cc3d4.tar.gz |
Moved extra modules to basic
Diffstat (limited to 'scipy/basic/random.py')
-rw-r--r-- | scipy/basic/random.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scipy/basic/random.py b/scipy/basic/random.py new file mode 100644 index 000000000..90cbd5cc7 --- /dev/null +++ b/scipy/basic/random.py @@ -0,0 +1,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() |