Class HaltonSequence1D

Class Documentation

class HaltonSequence1D

Realization of the Halton sequence for the generation of arbitrary dimensional, low-dispersion sequences.

Short description

HaltonSequence1D Realization of the Halton sequence for the generation of arbitrary dimensional, low-dispersion sequences.

External documentation

Implementation follows https://en.wikipedia.org/wiki/Halton_sequence. A more efficient implementation might be found in Struckmeier, Jens. “Fast generation of low-discrepancy sequences.” Journal of Computational and Applied Mathematics 61.1 (1995): 29-41.

Public Functions

HaltonSequence1D()

Constructor.

HaltonSequence1D(unsigned int base)

Constructor.

void setBase(unsigned int base)

Sets the base of the halton sequence.

double sample()

Returns the next sample in the interval [0,1].