Enum rgsl::VegasMode [−][src]
#[repr(C)]pub enum VegasMode { Importance, ImportanceOnly, Stratified, }
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
Importance
ImportanceOnly
Stratified
Trait Implementations
impl Clone for VegasMode
[src]
impl Clone for VegasMode
fn clone(&self) -> VegasMode
[src]
fn clone(&self) -> VegasMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for VegasMode
[src]
impl PartialEq for VegasMode
fn eq(&self, other: &VegasMode) -> bool
[src]
fn eq(&self, other: &VegasMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl PartialOrd for VegasMode
[src]
impl PartialOrd for VegasMode
fn partial_cmp(&self, other: &VegasMode) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &VegasMode) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
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 more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for VegasMode
[src]
impl Debug for VegasMode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for VegasMode
[src]
impl Copy for VegasMode