summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authormtran <trankmichael@gmail.com>2015-08-07 16:02:27 -0700
committerCharles Harris <charlesr.harris@gmail.com>2015-10-04 12:54:52 -0600
commit7c1f44fd07917b3a2fac483c2263edd67b490eda (patch)
treec5a3a6f8e1fe51e7280d0a3d8eb60f330fbdfa07 /numpy/random
parent2bc213bb3a75069775bc2a6cbc43dc26e1664835 (diff)
downloadnumpy-7c1f44fd07917b3a2fac483c2263edd67b490eda.tar.gz
DOC: Add RandomState stability guarantee to RandomState documentation.
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/mtrand/mtrand.pyx6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx
index 59f9dcd6b..fb325d9c1 100644
--- a/numpy/random/mtrand/mtrand.pyx
+++ b/numpy/random/mtrand/mtrand.pyx
@@ -587,6 +587,12 @@ cdef class RandomState:
array filled with generated values is returned. If `size` is a tuple,
then an array with that shape is filled and returned.
+ * Compatibility Guarantee*
+ A fixed seed and a fixed series of calls to 'RandomState' methods will
+ always produce the same results regardless of platform or numpy
+ version. Small differences in floating point values may occur due to
+ rounding differences between compilers.
+
Parameters
----------
seed : {None, int, array_like}, optional