public class AntitheticPointSet extends ContainerPointSet
AntitheticPointSet object pa that contains p,
and then generate the regular variates with p and the
antithetic variates with pa.| Constructor and Description |
|---|
AntitheticPointSet(PointSet P)
Constructs an antithetic point set from the given point set P.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCoordinate(int i,
int j)
Returns ui, j, the coordinate j of the point i.
|
PointSetIterator |
iterator()
Constructs and returns a point set iterator.
|
java.lang.String |
toString()
Formats a string that contains information about the point set.
|
addRandomShift, addRandomShift, clearRandomShift, getDimension, getNumPoints, randomizeaddRandomShift, addRandomShift, formatPoints, formatPoints, formatPoints, formatPoints, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsNumbered, formatPointsNumbered, getStream, randomize, randomize, randomize, randomize, setStream, unrandomizepublic AntitheticPointSet(PointSet P)
P - point set for which we want antithetic versionpublic double getCoordinate(int i,
int j)
PointSetgetCoordinate in class ContainerPointSeti - index of the point to look forj - index of the coordinate to look forpublic PointSetIterator iterator()
PointSetgetCoordinate (i,j) to iterate over the
points and coordinates, but subclasses can reimplement it
for better efficiency.iterator in class ContainerPointSetpublic java.lang.String toString()
PointSettoString in class ContainerPointSetTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.