|
SSJ V. labo. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectumontreal.iro.lecuyer.hups.PointSet
umontreal.iro.lecuyer.hups.Rank1Lattice
umontreal.iro.lecuyer.hups.KorobovLattice
public class KorobovLattice
KorobovLattice
This class implements Korobov lattices, which represents the same point sets as in class LCGPointSet, but implemented differently. The parameters are the modulus n and the multiplier a, for an arbitrary integer 1≤a < n. [When a is outside the interval [1, n), then we replace a by (a mod n) in all calculations.] 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 Summary | |
|---|---|
KorobovLattice(int n,
int a,
int s)
. |
|
KorobovLattice(int n,
int a,
int s,
int t)
. |
|
| Method Summary | |
|---|---|
int |
getA()
. |
void |
setNumPoints(int n)
. |
String |
toString()
. |
| Methods inherited from class umontreal.iro.lecuyer.hups.Rank1Lattice |
|---|
addRandomShift, clearRandomShift, getAs, getCoordinate, iterator |
| Methods inherited from class umontreal.iro.lecuyer.hups.PointSet |
|---|
addRandomShift, addRandomShift, addRandomShift, formatPoints, formatPoints, formatPoints, formatPoints, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsNumbered, formatPointsNumbered, getDimension, getNumPoints, getStream, randomize, randomize, randomize, randomize, randomize, setStream, unrandomize |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KorobovLattice(int n,
int a,
int s)
public KorobovLattice(int n,
int a,
int s,
int t)
| Method Detail |
|---|
public void setNumPoints(int n)
setNumPoints in class Rank1Latticepublic int getA()
public String toString()
PointSet
toString in class Rank1Lattice
|
SSJ V. labo. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||