1package umontreal.ssj.mcqmctools.anova;
3import umontreal.ssj.rng.*;
12 protected int curCoordIndex;
14 protected double[] vals;
25 this.vals =
new double[2 * nCache];
26 this.curCoordIndex = 0;
32 this.curCoordIndex = 0;
39 s.curCoordIndex = curCoordIndex;
48 public CoordinateSet getCoordinates() {
54 int a = (coords !=
null && coords.contains(curCoordIndex)) ? 0 : 1;
55 return vals[2 * (curCoordIndex++) + a];
61 throw new UnsupportedOperationException();
66 throw new UnsupportedOperationException();
76 return getClass().getSimpleName() +
" [nCache=" + (vals.length / 2) +
"]";
This class provides a convenient foundation on which RNGs can be built.
This interface defines the basic structures to handle multiple streams of uniform (pseudo)random numb...
void nextArrayOfDouble(double[] u, int start, int n)
Generates n (pseudo)random numbers from the uniform distribution and stores them into the array u sta...