pub enum Sampler {
Sobol,
PseudoRandom,
}Expand description
Draw sampler. Sobol selects the low-discrepancy family: true Sobol
(van der Corput) in one dimension, a scrambled multi-dimensional
sequence through a Brownian bridge for path-wise simulation.
PseudoRandom uses seeded per-path PCG64 streams with antithetic
pairing.
Variants§
Trait Implementations§
impl Copy for Sampler
impl Eq for Sampler
impl StructuralPartialEq for Sampler
Auto Trait Implementations§
impl Freeze for Sampler
impl RefUnwindSafe for Sampler
impl Send for Sampler
impl Sync for Sampler
impl Unpin for Sampler
impl UnsafeUnpin for Sampler
impl UnwindSafe for Sampler
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