Function dvcompute::simulation::parameter::random::random_discrete_parameter [−][src]
pub fn random_discrete_parameter<T: Clone>(
dpdf: Rc<Vec<(T, f64)>>
) -> impl Parameter<Item = T> + Clone
Expand description
Computation that returns a new random value from the specified discrete distribution.