public class CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator extends CycleBasedPointSet.CycleBasedPointSetIterator
| Constructor and Description |
|---|
CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator() |
| Modifier and Type | Method and Description |
|---|---|
double |
nextCoordinate()
Returns the current coordinate ui, j and advances to the next one.
|
void |
nextCoordinates(double[] p,
int dim)
Returns the next d coordinates of the current point in p
and advances the current coordinate index by d.
|
int |
nextPoint(double[] p,
int dim)
Returns the first d coordinates of the current
point in p, advances to the next point, and
returns the index of the new current point.
|
void |
resetCurCycle(int index) |
formatState, hasNextCoordinate, nextDouble, resetCurCoordIndex, resetCurPointIndex, resetToNextPoint, setCurCoordIndex, setCurPointIndexequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator()
public void resetCurCycle(int index)
resetCurCycle in class CycleBasedPointSet.CycleBasedPointSetIteratorpublic double nextCoordinate()
PointSetIteratorNoSuchElementException.nextCoordinate in interface PointSetIteratornextCoordinate in class CycleBasedPointSet.CycleBasedPointSetIteratorpublic void nextCoordinates(double[] p,
int dim)
PointSetIteratornextCoordinate.nextCoordinates in interface PointSetIteratornextCoordinates in class CycleBasedPointSet.CycleBasedPointSetIteratorp - array to be filled with the coordinates, starting at index 0dim - number of coordinates to getpublic int nextPoint(double[] p,
int dim)
PointSetIteratorSpecialized implementations of this method often allow for increased efficiency, e.g., for cycle-based point sets where the cycles (but not the points) are stored explicitly or for digital nets by allowing non-incremental point enumerations via Gray-code counters.
nextPoint in interface PointSetIteratornextPoint in class CycleBasedPointSet.CycleBasedPointSetIteratorp - array to be filled with the coordinates,
starting from array index 0dim - number of coordinates to returnTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.