Public Member Functions | |
| double | nextDouble () |
| Same as nextCoordinate(). | |
| double | nextCoordinate () |
| void | resetCurPointIndex () |
| Resets both the current point index and the current coordinate to 0. | |
| void | setCurPointIndex (int i) |
| Resets the current point index to i and current coordinate to 0. | |
| int | resetToNextPoint () |
| Resets the current point index to the next one and current coordinate to 0, and returns the new current point index. | |
| int | nextPoint (double p[], int d) |
Same as nextPoint(p, 0, d). | |
| Public Member Functions inherited from umontreal.ssj.hups.PointSet.DefaultPointSetIterator | |
| void | setCurCoordIndex (int j) |
| Set current coordinate to j. | |
| void | resetCurCoordIndex () |
| Set current coordinate to 0. | |
| int | getCurCoordIndex () |
| boolean | hasNextCoordinate () |
| void | nextCoordinates (double p[], int d) |
| int | getCurPointIndex () |
| boolean | hasNextPoint () |
| int | nextPoint (double p[], int fromDim, int d) |
| Returns in p a block of d successive coordinates of the current point, starting at coordinate fromDim, and advances to the next point. | |
| void | resetStartStream () |
| Same as resetCurPointIndex(). | |
| void | resetStartSubstream () |
| Same as resetCurCoordIndex(). | |
| void | resetNextSubstream () |
| Same as resetToNextPoint(). | |
| void | setAntithetic (boolean b) |
| Not implemented here, raises an exception. | |
| void | nextArrayOfDouble (double[] u, int start, int n) |
| Returns in p[start..start+n-1] a block of n successive coordinates of the current point, obtained by calling nextDouble() n times. | |
| int | nextInt (int i, int j) |
| Similar to nextDouble(), but returns an integer uniformly distributed in [i..j]. | |
| void | nextArrayOfInt (int i, int j, int[] u, int start, int n) |
| Similar to nextArrayOfDouble but returns in u[start..start+n-1] a block of n integers uniformly distributed in [i..j]. | |
| String | formatState () |
| Public Member Functions inherited from umontreal.ssj.rng.RandomStream | |
| String | toString () |
| Returns a string containing the current state of this stream. | |
Additional Inherited Members | |
| Protected Member Functions inherited from umontreal.ssj.hups.PointSet.DefaultPointSetIterator | |
| void | outOfBounds () |
| Error message for index out of bounds. | |
| Protected Attributes inherited from umontreal.ssj.hups.PointSet.DefaultPointSetIterator | |
| int | curPointIndex = 0 |
| Index of the current point. | |
| int | curCoordIndex = 0 |
| Index of the current coordinate. | |
| double | EpsilonHalf = 1.0 / Num.TWOEXP[55] |
| Default constant epsilon/2 added to the points after a random shift. | |
Definition at line 798 of file DigitalNetBase2.java.
| double umontreal.ssj.hups.DigitalNetBase2.DigitalNetBase2Iterator.nextCoordinate | ( | ) |
Reimplemented from umontreal.ssj.hups.DigitalNet.DigitalNetIterator.
Definition at line 829 of file DigitalNetBase2.java.
| double umontreal.ssj.hups.DigitalNetBase2.DigitalNetBase2Iterator.nextDouble | ( | ) |
Same as nextCoordinate().
Reimplemented from umontreal.ssj.hups.DigitalNet.DigitalNetIterator.
Definition at line 825 of file DigitalNetBase2.java.
| int umontreal.ssj.hups.DigitalNetBase2.DigitalNetBase2Iterator.nextPoint | ( | double | p[], |
| int | d ) |
Same as nextPoint(p, 0, d).
Reimplemented from umontreal.ssj.hups.PointSet.DefaultPointSetIterator.
Definition at line 892 of file DigitalNetBase2.java.
| void umontreal.ssj.hups.DigitalNetBase2.DigitalNetBase2Iterator.resetCurPointIndex | ( | ) |
Resets both the current point index and the current coordinate to 0.
Reimplemented from umontreal.ssj.hups.DigitalNet.DigitalNetIterator.
Definition at line 851 of file DigitalNetBase2.java.
| int umontreal.ssj.hups.DigitalNetBase2.DigitalNetBase2Iterator.resetToNextPoint | ( | ) |
Resets the current point index to the next one and current coordinate to 0, and returns the new current point index.
Reimplemented from umontreal.ssj.hups.DigitalNet.DigitalNetIterator.
Reimplemented in umontreal.ssj.hups.DigitalNetBase2.DigitalNetBase2IteratorNoGray, umontreal.ssj.hups.DigitalSequenceBase2.DigitalNetBase2IteratorShiftGenerators, and umontreal.ssj.hups.DigitalSequenceBase2.DigitalNetBase2IteratorShiftNoGray.
Definition at line 879 of file DigitalNetBase2.java.
| void umontreal.ssj.hups.DigitalNetBase2.DigitalNetBase2Iterator.setCurPointIndex | ( | int | i | ) |
Resets the current point index to i and current coordinate to 0.
Reimplemented from umontreal.ssj.hups.DigitalNet.DigitalNetIterator.
Reimplemented in umontreal.ssj.hups.DigitalNetBase2.DigitalNetBase2IteratorNoGray, umontreal.ssj.hups.DigitalSequenceBase2.DigitalNetBase2IteratorShiftGenerators, and umontreal.ssj.hups.DigitalSequenceBase2.DigitalNetBase2IteratorShiftNoGray.
Definition at line 857 of file DigitalNetBase2.java.