[][src]Function arctk::math::rng::distribution::sample_henyey_greenstein

#[must_use]pub fn sample_henyey_greenstein<R: Rng>(rng: &mut R, asym: f64) -> f64

Sample the Henyey-Greenstein phase function with a given asymmetry parameter.