66 egsFatal(
"EGS_Sobol::setState: attampt to set my state by a non EGS_Sobol RNG!\n");
76 if (!egsStoreI64(data, count)) {
91 if (!egsGetI64(data, count)) {
109 egsInformation(
"Random number generator:\n"
110 "============================================\n");
111 egsInformation(
" type = Sobol\n");
112 egsInformation(
" dimensions = %d\n",
dim);
113 egsInformation(
" initial seed = %lld\n",
init_seed);
114 egsInformation(
" current seed = %lld\n",
cur_seed);
115 egsInformation(
" numbers used so far = %lld\n", count);
122 if (dimension < 0 || dimension > 3) {
EGS_RandomGenerator wrapper for Sobol library.
bool setPrivateState(istream &data)
void describeRNG() const
Output information about this RNG using egsInformation()
void fillArray(int n, EGS_Float *array)
Fill the array pointed to by array with random numbers.
EGS_RandomGenerator * getCopy()
void setState(EGS_RandomGenerator *r)
EGS_I64 cur_seed
initial seed for random number generator
EGS_Sobol * copy
current seed being used for random number generator (required to reinitialize
bool storePrivateState(ostream &data)
Header file for EGS_Sobol (EGS_RandomGenerator wrapper for Sobol QRNG)
void i8_sobol(int dim_num, long long int *seed, double quasi[])