#[non_exhaustive]pub struct MonteCarloResult {
pub value: f64,
pub standard_error: f64,
pub nfev: usize,
}Expand description
The outcome of monte_carlo.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: f64The estimated integral.
standard_error: f64The estimated standard deviation of value, V σ̂ / √N (V the volume of the box).
nfev: usizeThe number of integrand evaluations.
Trait Implementations§
Source§impl Clone for MonteCarloResult
impl Clone for MonteCarloResult
impl Copy for MonteCarloResult
Auto Trait Implementations§
impl Freeze for MonteCarloResult
impl RefUnwindSafe for MonteCarloResult
impl Send for MonteCarloResult
impl Sync for MonteCarloResult
impl Unpin for MonteCarloResult
impl UnsafeUnpin for MonteCarloResult
impl UnwindSafe for MonteCarloResult
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