repo.or.cz
/
qpms.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Don't import qpms_p in __init__, remove scipy from install dependencies
[qpms.git]
/
oldtests
/
gsl-intgamma
/
genvals-incgamma.py
blob
33580d6239507f3e5b375ccfd7acdd399465deb4
1
import
random
2
import
math
3
4
jmu
=
2
5
mu
=
5
6
7
for
i
in
range
(
10000
):
8
x
=
abs
(
random
.
expovariate
(
1
/
mu
))
9
j
=
math
.
floor
(
abs
(
random
.
expovariate
(
1
/
jmu
)))
10
print
(
j
,
x
)
11
12