3-Sphere sequence generator (standalone, returns std::array).
More...
#include <sphere_n.hpp>
|
| | Sphere3 (std::span< const unsigned long > base) |
| |
| std::array< double, 4 > | pop () |
| |
| void | reseed (unsigned long seed) |
| |
3-Sphere sequence generator (standalone, returns std::array).
Generates points on a 3-sphere using a combination of Van der Corput and Sphere generators. Thread-safe (internal mutex). Returns std::array<double, 4> to avoid heap allocation per pop().
◆ Sphere3()
| ldsgen::Sphere3::Sphere3 |
( |
std::span< const unsigned long > |
base | ) |
|
|
explicit |
◆ pop()
| std::array< double, 4 > ldsgen::Sphere3::pop |
( |
| ) |
|
◆ reseed()
| void ldsgen::Sphere3::reseed |
( |
unsigned long |
seed | ) |
|
The documentation for this class was generated from the following file: