1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! Asset-agnostic Monte Carlo machinery, one concern per file — usable
//! as a standalone simulation toolkit and consumed by the equity pricers.
//!
//! Nothing in this module knows about options, spots or curves: it deals
//! in uniforms, normals, Brownian increments and estimator statistics,
//! so rates, FX, commodity or credit simulations plug in the same way
//! equities do.
//!
//! - [`paths`]: the public `sample_paths` API — materialized path
//! matrices over any process, plus the per-path Brownian increment
//! source ([`PathDraws`]) the pricing engines share;
//! - [`process`]: the generic Itô-process / SDE abstraction — drift and
//! diffusion coefficients live in the process, Euler / Milstein are
//! written once against them, closed-form transitions and
//! model-specific schemes are per-process overrides;
//! - [`rng`]: deterministic pseudo-random generation — SplitMix64 stream
//! derivation and per-path PCG64 streams (bit-reproducible under any
//! thread scheduling), plus seeded standard-normal draws;
//! - [`sobol`]: multi-dimensional **Sobol** low-discrepancy sequences
//! (Gray-code, direction numbers, optional seeded digital-shift
//! scrambling), and the 1-D van der Corput normals;
//! - [`halton`]: Halton sequences with Cranley-Patterson rotation — the
//! arbitrary-dimension quasi-random fallback;
//! - [`brownian_bridge`]: Brownian-bridge path construction, so the
//! best low-discrepancy coordinates carry each path's coarse
//! structure;
//! - [`variance_reduction`]: antithetic pairing, moment matching, and
//! the generic regression-based control-variate estimator;
//! - [`sampling`]: stratified sampling and Latin hypercube designs;
//! - [`stats`]: simulation statistics — mean / standard error from
//! accumulated sums and a Welford running accumulator.
pub use BrownianBridge;
pub use QmcSequence;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;