stochasta 0.2.2

A simple stochastic analysis library
Documentation

STOCHASTA

This is stochasta.

A (hopefully) simple stochastic analysis library.

It is written in Rust and published at crates.io.

Example

use stochasta::CardDeck;
use stochasta::Probability;

let coin = CardDeck::from(vec!["head", "tails"]);

assert_eq!(coin.size(), 2);
assert_eq!(coin.probability(&"head"), Probability::new(1, 2));
assert_eq!(coin.probability(&"tails"), Probability::new(1, 2));

Changelog

For Changelog / News / History / Releases, see CHANGELOG.md.

Bugs / Issues / Feature Requests

If there is anything at your disfavor or something behaves weird, please submit an issue or open a pull request.