pub struct Probe;Expand description
A boundary-biased distribution: ~1/8 of draws are a boundary value, the rest a
“typical” log-normal magnitude. Generic over the numeric output type so a draw
site reads let v: i64 = Probe.sample(rng) and gets type-appropriate
boundaries. i64/f64 draws carry a random sign.
Trait Implementations§
impl Copy for Probe
Source§impl Distribution<f64> for Probe
impl Distribution<f64> for Probe
Source§impl Distribution<i64> for Probe
impl Distribution<i64> for Probe
Source§impl Distribution<u64> for Probe
impl Distribution<u64> for Probe
Auto Trait Implementations§
impl Freeze for Probe
impl RefUnwindSafe for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnsafeUnpin for Probe
impl UnwindSafe for Probe
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more