Skip to main content

sample_paths_1d

Function sample_paths_1d 

Source
pub fn sample_paths_1d<P: StochasticProcess1D>(
    process: &P,
    x0: f64,
    scheme: DiscretizationScheme,
    cfg: &SampleConfig,
) -> Paths
Expand description

Simulate paths of a scalar process from x0 under the given discretization scheme.