TheAlgorithms / C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
https://thealgorithms.github.io/C-Plus-Plus
MIT License
30.79k stars 7.29k forks source link

Created special_distributions.cpp #2890

Closed igmansvi closed 1 week ago

igmansvi commented 3 weeks ago

feat: add discrete distribution algorithm, class Bernoulli, Binomial, Negative, Geometric, Poisson
feat: add continuous distribution, class normal, gamma, exponential test: add test for each probability distributions docs: add comments and explanation to distributions algorithm

Description of Change

Checklist

Notes: