mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-02 06:22:55 +08:00
feat: add geometric distribution (#1699)
* feat: add geometric distribution * test: Add test for geometric dist * fix: Make range_tries inclusive * docs: Add documentation for geometric distribution * fix: clang warnings in geometric_dist * updating DIRECTORY.md * fix: Remove extra line Co-authored-by: David Leal <halfpacho@gmail.com> * fix: Remove file name Co-authored-by: David Leal <halfpacho@gmail.com> * fix: Add return value of void function Co-authored-by: David Leal <halfpacho@gmail.com> * fix: Add comment for test function Co-authored-by: David Leal <halfpacho@gmail.com> * fix: Update successful test message Co-authored-by: David Leal <halfpacho@gmail.com> * fix: Add geometric_dist namespace Co-authored-by: David Leal <halfpacho@gmail.com> * fix: Remove extra line Co-authored-by: David Leal <halfpacho@gmail.com> * fix: Close comment * docs: Fix documentation Co-authored-by: David Leal <halfpacho@gmail.com> * fix: Add const to parameter Co-authored-by: David Leal <halfpacho@gmail.com> * fix: Make class methods const Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
89bfc1244e
commit
5a654fb85b
@@ -266,6 +266,7 @@
|
||||
* [Addition Rule](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/probability/addition_rule.cpp)
|
||||
* [Bayes Theorem](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/probability/bayes_theorem.cpp)
|
||||
* [Binomial Dist](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/probability/binomial_dist.cpp)
|
||||
* [Geometric Dist](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/probability/geometric_dist.cpp)
|
||||
* [Poisson Dist](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/probability/poisson_dist.cpp)
|
||||
* [Windowed Median](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/probability/windowed_median.cpp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user