diff options
author | MaPePeR <MaPePeR@users.noreply.github.com> | 2015-09-08 14:53:10 +0200 |
---|---|---|
committer | MaPePeR <MaPePeR@users.noreply.github.com> | 2015-09-08 14:53:10 +0200 |
commit | 06e23e45f83ff1924ee759d4ed68060f02514204 (patch) | |
tree | 606822308bc1bd673020526eeb96134a058ee74c /numpy/random | |
parent | d83814dd442a63e2ce9b60bc4e4f62338700e26d (diff) | |
download | numpy-06e23e45f83ff1924ee759d4ed68060f02514204.tar.gz |
DOC: Fix typo in Triangular Distribution PDF
Diffstat (limited to 'numpy/random')
-rw-r--r-- | numpy/random/mtrand/mtrand.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx index 9861204d9..59f9dcd6b 100644 --- a/numpy/random/mtrand/mtrand.pyx +++ b/numpy/random/mtrand/mtrand.pyx @@ -3520,7 +3520,7 @@ cdef class RandomState: .. math:: P(x;l, m, r) = \\begin{cases} \\frac{2(x-l)}{(r-l)(m-l)}& \\text{for $l \\leq x \\leq m$},\\\\ - \\frac{2(m-x)}{(r-l)(r-m)}& \\text{for $m \\leq x \\leq r$},\\\\ + \\frac{2(r-x)}{(r-l)(r-m)}& \\text{for $m \\leq x \\leq r$},\\\\ 0& \\text{otherwise}. \\end{cases} |