|
Recti 1.2.4
|
Halton sequence generator. More...
#include <ilds.hpp>
Public Member Functions | |
| constexpr | Halton (const std::array< unsigned int, 2 > &scale) |
| Construct a new Halton object. | |
| constexpr auto | pop () -> array< unsigned long, 2 > |
| Generate the next point in the Halton sequence. | |
| constexpr auto | reseed (const unsigned long &seed) -> void |
| Reset the state of the Halton sequence generator. | |
Halton sequence generator.
* Integer Halton([2,3], [2,2]): * pop() -> [1, 4] (VdC_i(2,2,2), VdC_i(2,3,2)) * pop() -> [2, 5] (next in each sequence) * ... *
| Base1 | Base for the first dimension. |
| Base2 | Base for the second dimension. |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Reset the state of the Halton sequence generator.
Resets the state of the sequence generator to a specific seed value.
| [in] | seed | the seed value to reset the sequence generator to |