TheAlgorithms-C-Plus-Plus/probability
Domenic Zingsheim 5a654fb85b
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>
2021-10-13 16:22:32 -05:00
..
addition_rule.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
bayes_theorem.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
binomial_dist.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
CMakeLists.txt Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
geometric_dist.cpp feat: add geometric distribution (#1699) 2021-10-13 16:22:32 -05:00
poisson_dist.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
windowed_median.cpp feat: Add the Windowed Median algorithm (#1649) 2021-10-06 18:55:45 -05:00