Commit Graph

4 Commits

Author SHA1 Message Date
Léa Saviot
a9c47a9468 [apps/probability] Change geometric distribution definition
THe distribution now represents the number of trials neded before a
success, so is defined for k in {1, 2, 3, ...}
2020-06-04 14:50:07 +02:00
Léa Saviot
d200688f20 [apps/proba] Geometric distibution should return 0, not nan for x < 0 2020-06-04 14:50:07 +02:00
Léa Saviot
503227b49b [apps/proba] Fix float/integer comparison 2020-06-04 14:50:07 +02:00
Léa Saviot
bbf506ddb7 [apps/proba] Refactor law -> distribution 2019-08-20 17:16:19 +02:00