pub struct SampleConfig {
pub paths: usize,
pub steps: usize,
pub horizon: f64,
pub sampler: Sampler,
pub seed: u64,
}Expand description
Sampling configuration shared by both entry points.
Fields§
§paths: usizeNumber of paths.
steps: usizeTime steps per path (the grid is uniform over horizon).
horizon: f64Path length in years.
sampler: Sampler§seed: u64Trait Implementations§
Source§impl Clone for SampleConfig
impl Clone for SampleConfig
Source§fn clone(&self) -> SampleConfig
fn clone(&self) -> SampleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SampleConfig
Auto Trait Implementations§
impl Freeze for SampleConfig
impl RefUnwindSafe for SampleConfig
impl Send for SampleConfig
impl Sync for SampleConfig
impl Unpin for SampleConfig
impl UnsafeUnpin for SampleConfig
impl UnwindSafe for SampleConfig
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