pub enum VegasMode {
Importance,
ImportanceOnly,
Stratified,
}
Expand description
Used by VegasMonteCarlo struct
The possible choices are GSL_VEGAS_MODE_IMPORTANCE, GSL_VEGAS_MODE_ STRATIFIED, GSL_VEGAS_MODE_IMPORTANCE_ONLY. This determines whether vegas will use importance sampling or stratified sampling, or whether it can pick on its own. In low dimensions vegas uses strict stratified sampling (more precisely, stratified sampling is chosen if there are fewer than 2 bins per box).
Variants§
Trait Implementations§
source§impl PartialEq for VegasMode
impl PartialEq for VegasMode
source§impl PartialOrd for VegasMode
impl PartialOrd for VegasMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for VegasMode
impl StructuralPartialEq for VegasMode
Auto Trait Implementations§
impl RefUnwindSafe for VegasMode
impl Send for VegasMode
impl Sync for VegasMode
impl Unpin for VegasMode
impl UnwindSafe for VegasMode
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