|
Recti 1.2.4
|
van der Corput sequence generator More...
#include <ilds.hpp>
Public Member Functions | |
| constexpr | VdCorput (unsigned int scale=DEFAULT_SCALE) |
| Construct a new VdCorput object. | |
| constexpr auto | pop () -> unsigned long |
| Increments count and calculates the next value in the sequence. | |
| constexpr auto | reseed (const unsigned long &seed) -> void |
| Resets the state of the sequence generator. | |
| VdCorput (VdCorput &&) noexcept=delete | |
| VdCorput & | operator= (VdCorput &&) noexcept=delete |
van der Corput sequence generator
Implementation based on pre-calculating the scale factor.
| Base | The base of the sequence (default 2). |
|
inlineexplicitconstexpr |
Construct a new VdCorput object.
| [in] | scale | The number of digits (default: 10) |
|
deletenoexcept |
|
deletenoexcept |
|
inlineconstexpr |
Increments count and calculates the next value in the sequence.
|
inlineconstexpr |
Resets the state of the sequence generator.
| [in] | seed |