This is stochasta
.
A (hopefully) simple stochastic analysis library.
It is written in Rust and published at crates.io.
```rust use stochasta::CardDeck; use stochasta::Probability;
let coin = CardDeck::from(vec!["head", "tails"]);
asserteq!(coin.size(), 2); asserteq!(coin.probability(&"head"), Probability::new(1, 2)); assert_eq!(coin.probability(&"tails"), Probability::new(1, 2)); ```
For Changelog / News / History / Releases, see CHANGELOG.md.
If there is anything at your disfavor or something behaves weird, please submit an issue or open a pull request.