public class KorobovLattice extends Rank1Lattice
LCGPointSet, but implemented differently.
The parameters are the modulus n and the multiplier a, for arbitrary
integers
1 <= a < n. The number of points is n, their dimension is
s, and they are defined by
It is also possible to build a ``shifted'' Korobov lattice with the first t coordinates rejected. The s-dimensionnal points are then defined as
| Constructor and Description |
|---|
KorobovLattice(int n,
int a,
int s)
Instantiates a Korobov lattice point set with modulus n and
multiplier a in dimension s.
|
KorobovLattice(int n,
int a,
int s,
int t)
Instantiates a shifted Korobov lattice point set with modulus n and
multiplier a in dimension s.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getA()
Returns the multiplier a of the lattice.
|
java.lang.String |
toString()
Formats a string that contains information about the point set.
|
addRandomShift, clearRandomShift, getAs, getCoordinate, iteratoraddRandomShift, addRandomShift, addRandomShift, formatPoints, formatPoints, formatPoints, formatPoints, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsNumbered, formatPointsNumbered, getDimension, getNumPoints, getStream, randomize, randomize, randomize, randomize, randomize, setStream, unrandomizepublic KorobovLattice(int n,
int a,
int s)
public KorobovLattice(int n,
int a,
int s,
int t)
public int getA()
public java.lang.String toString()
PointSettoString in class Rank1LatticeTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.