|
SSJ V. 2.2. |
||||||||
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
umontreal.iro.lecuyer.hups.KorobovLatticeSequence
public class KorobovLatticeSequence
This class implements Korobov lattice sequences, defined as follows. One selects a basis b and a (large) multiplier a. For each integer k >= 0, we may consider the n-point Korobov lattice with modulus n = bk and multiplier ã = a mod n. Its points have the form
These embedded lattices contain an infinite sequence of points that can be enumerated as follows:
RadicalInverse
.
The first n = bk points in this sequence are exactly the same as
the n points in, for each k >= 0.
Constructor Summary | |
---|---|
KorobovLatticeSequence(int b,
int a)
Constructs a new lattice sequence with base b and generator = a. |
Method Summary | |
---|---|
double |
getCoordinate(int i,
int j)
Returns ui, j, the coordinate j of the point i. |
Methods inherited from class umontreal.iro.lecuyer.hups.KorobovLattice |
---|
getA, toString |
Methods inherited from class umontreal.iro.lecuyer.hups.Rank1Lattice |
---|
addRandomShift, clearRandomShift, getAs, 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 KorobovLatticeSequence(int b, int a)
b
- number of points (modulus) is a power of ba
- multiplier a of this lattice sequenceMethod Detail |
---|
public double getCoordinate(int i, int j)
PointSet
getCoordinate
in class Rank1Lattice
i
- index of the point to look forj
- index of the coordinate to look for
|
SSJ V. 2.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |