Function new_compact_params

Source
pub fn new_compact_params(b: f64, n: usize, k: usize) -> Option<CompactParams>
Expand description

ensures that the parameters are all valid and if so creates a new CompactParams struct

For CompactParams, b must be greater than or equal to 1.0, and n, k > 0.