24package umontreal.ssj.hups;
26import umontreal.ssj.rng.RandomStream;
56 for (
int j = 0; j <
dim; j++) {
80 return "IndependentPointsCached: independent points in " +
dim +
"dimensions.";
IndependentPointsCached(int n, int dim)
Constructs the structure for n points in dim dimensions.
void addRandomShift(int fromDim, int toDim, RandomStream stream)
Random shifts and partial randomizations are irrelevant here, so this method is redefined to be equiv...
void randomize(RandomStream stream)
This randomization generates and stores independent random points.
String toString()
Formats a string that contains information about the point set.
void randomize(PointSetRandomization rand)
Generates a new set of independent points, regardless of what rand is.
int numPoints
Number of points.
int dim
Dimension of the points.
This interface is for a randomization that can be used to randomize a umontreal.ssj....
RandomStream getStream()
Returns the internal umontreal.ssj.rng.RandomStream.
This interface defines the basic structures to handle multiple streams of uniform (pseudo)random numb...
double nextDouble()
Returns a (pseudo)random number from the uniform distribution over the interval , using this stream,...