summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorEric Firing <efiring@hawaii.edu>2015-01-30 15:36:19 -1000
committerEric Firing <efiring@hawaii.edu>2015-01-30 15:36:19 -1000
commit934b6d6a1ea7057044ce8d63f2dd9b942f92ab86 (patch)
tree1056af93cfc9f66eec3b579e491ff048cd4a5ab3 /numpy
parentea5202880e2e1876d9baa2a65e7987c99be0459b (diff)
downloadnumpy-934b6d6a1ea7057044ce8d63f2dd9b942f92ab86.tar.gz
DOC: correct erroneous description of Rayleigh distribution
Diffstat (limited to 'numpy')
-rw-r--r--numpy/random/mtrand/mtrand.pyx8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx
index ed582767a..703e9ec28 100644
--- a/numpy/random/mtrand/mtrand.pyx
+++ b/numpy/random/mtrand/mtrand.pyx
@@ -3324,10 +3324,10 @@ cdef class RandomState:
.. math:: P(x;scale) = \\frac{x}{scale^2}e^{\\frac{-x^2}{2 \\cdotp scale^2}}
- The Rayleigh distribution arises if the wind speed and wind direction are
- both gaussian variables, then the vector wind velocity forms a Rayleigh
- distribution. The Rayleigh distribution is used to model the expected
- output from wind turbines.
+ The Rayleigh distribution would arise, for example, if the East
+ and North components of the wind velocity had identical zero-mean
+ Gaussian distributions. Then the wind speed would have a Rayleigh
+ distribution.
References
----------