recti::Vdcorput class

van der Corput sequence generator

Constructors, destructors, conversion operators

Vdcorput(unsigned base = 2, unsigned scale = 10) explicit constexpr noexcept
Construct a new Vdcorput object.

Public functions

auto operator()() noexcept -> unsigned -> auto
auto reseed(unsigned seed) noexcept -> void -> auto

Function documentation

recti::Vdcorput::Vdcorput(unsigned base = 2, unsigned scale = 10) explicit constexpr noexcept

Construct a new Vdcorput object.

Parameters
base in
scale in

auto recti::Vdcorput::operator()() noexcept -> unsigned

Returns double

auto recti::Vdcorput::reseed(unsigned seed) noexcept -> void

Parameters
seed in