Function bio::stats::combinatorics::combinations_with_repl [] [src]

pub fn combinations_with_repl(n: u64, k: u64) -> f64

Calculate the number of combinations when choosing k elements from n elements with replacement.