Probabilistic is a cross-language standard library designed to facilitate the probabilistic execution of functions and the analysis of their outcome distributions. Whether you're simulating uncertain events, performing randomized experiments, or adding an element of chance to your applications, Probabilistic provides a straightforward and flexible toolkit to meet your needs across multiple programming languages. By maintaining consistent APIs and functionality, developers can easily switch between languages or integrate probabilistic functions in multi-language projects.
Language | Implementation | Status | |
---|---|---|---|
![]() |
Python | Probabilistic.py | Stable |
![]() |
C | Probabilistic.c | In Development |
![]() |
JavaScript | Coming Soon | Planned |
- Cross-language Support: Consistent APIs across different programming languages.
- Probabilistic Function Execution: Execute functions based on specified probabilities.
- Mutual Exclusivity Functions: Choose between multiple functions to execute based on weights.
- Distribution Analysis Functions: Analyze outcome distributions over multiple trials.
We welcome contributions to any of the implementations. If you're interested in contributing to the existing projects or starting a new implementation in another language, please feel free to reach out or submit a pull request.
If you find this project helpful, please consider giving it a star on GitHub! 🌟
If you'd like to improve this project, feel free to submit a pull request or open an issue.
Happy Probabilistic Coding!