Skip to main content

compute_distribution

Function compute_distribution 

Source
pub fn compute_distribution(
    expr: &DiceExpr,
    sims: u64,
    rng: &mut impl Rng,
) -> BTreeMap<i64, u64>
Expand description

Run a Monte Carlo simulation and return the count of each result value.