Skip to main content

Module quasi_monte_carlo

Module quasi_monte_carlo 

Source
Expand description

Randomized quasi-Monte Carlo integration over boxes.

See the book entry Monte Carlo and quasi-Monte Carlo integration.

Structs§

QuasiMonteCarloResult
The outcome of quasi_monte_carlo_integration.

Enums§

QuasiRandomSequence
The low-discrepancy sequence to sample with.

Functions§

quasi_monte_carlo_integration
Integrates f over the box bounds (one (lower, upper) pair per dimension) by randomized quasi-Monte Carlo: replicates independent Cranley-Patterson shifts of the first points points of a low-discrepancy sequence, each giving an unbiased estimate. The result is their mean, and their spread gives a standard error. For smooth integrands the error falls almost like 1/N, against 1/√N for plain Monte Carlo.