Expand description
Libary for a coin flipping simulation.
Calculates the expected and empirical counts and probabilities of coin flips for a specified number of iterations and flips per iteration.
Structs§
- Coin
Flip Result - Represents the result of running the coin flip simulation.
- Empirical
Result - Represents an empirical result.
Functions§
- get_
all_ outcomes - Gets a vector of all possible outcomes as strings.
- get_
num_ outcomes - Gets the number of possible outcomes.
- run
- Runs a coin flip simulation for a specified number of iterations and flips per iteration.