SphereGen class
#include <ldsgen/sphere_n.hpp>
Base class for sphere generators.
Provides a common interface for all sphere sequence generators.
Derived classes
Constructors, destructors, conversion operators
- ~SphereGen() defaulted virtual
Public functions
Function documentation
std::vector<double> ldsgen:: SphereGen:: pop() pure virtual
Generate the next point on the sphere.
| Returns | std::vector<double> the next point on the sphere |
|---|
Returns the next point on the sphere as a vector of double values.
void ldsgen:: SphereGen:: reseed(unsigned long seed) pure virtual
Reset the state of the sphere generator.
| Parameters | |
|---|---|
| seed in | the seed value to reset the sequence generator to |
Resets the state of the sequence generator to a specific seed value.