#include <Sobol.h>
Inheritance diagram for Sobol:
Public Member Functions | |
Sobol (LongNatural Seed_=0) | |
Default constructor. | |
~Sobol () | |
void | sobseq (Integer *n, Real x[]) |
LongNatural | GetOneRandomInteger () |
Create one random integer. | |
Real | getUniform () |
Creates one uniform number on (0.0,1.0). | |
void | SetSeed (LongNatural Seed) |
Set seed for generator. | |
VeryLongNatural | Max () |
Return maximum number of random numbers. | |
LongNatural | Min () |
Return minimum of numbers generated. | |
Private Attributes | |
LongNatural | Seed |
Integer | n_ |
Real | x_ [MAXDIM+1] |
|
Default constructor.
Definition at line 4 of file Sobol.cpp. References LongNatural, n_, sobseq(), and x_. |
|
|
|
Create one random integer.
Implements RandomGenerator. Definition at line 79 of file Sobol.cpp. References LongNatural. |
|
Creates one uniform number on (0.0,1.0).
Implements RandomGenerator. |
|
Return maximum number of random numbers.
Implements RandomGenerator. Definition at line 71 of file Sobol.cpp. References VeryLongNatural. |
|
Return minimum of numbers generated.
Implements RandomGenerator. Definition at line 75 of file Sobol.cpp. References LongNatural. |
|
Set seed for generator.
Reimplemented from RandomGenerator. Definition at line 16 of file Sobol.cpp. References LongNatural, n_, sobseq(), and x_. |
|
Definition at line 23 of file Sobol.cpp. References Integer, LongInteger, LongNatural, MAXBIT, Natural, and Real. Referenced by getUniform(), SetSeed(), and Sobol(). |
|
Definition at line 38 of file Sobol.h. Referenced by getUniform(), SetSeed(), and Sobol(). |
|
Reimplemented from RandomGenerator. |
|
Definition at line 39 of file Sobol.h. Referenced by getUniform(), SetSeed(), and Sobol(). |