Documentation of 'umontreal.iro.lecuyer.hups.KorobovLatticeSequence' Java class
KorobovLatticeSequence
umontreal.iro.lecuyer.hups

Class KorobovLatticeSequence



  • public class KorobovLatticeSequence
    extends KorobovLattice
    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

    ui = (ai(1, a, a2,…) modn)/n = (ãi(1,ã,ã2,…) modn)/n

    for i = 0,..., n - 1. For k = 0, 1,..., we have an increasing sequence of lattices contained in one another.

    These embedded lattices contain an infinite sequence of points that can be enumerated as follows:

    ui = ψb(i)(1, a, a2,…) mod 1.

    where ψb(i) is the radical inverse function in base b, defined in RadicalInverse. The first n = bk points in this sequence are exactly the same as the n points in, for each k >=  0.
    • Constructor Detail

      • KorobovLatticeSequence

        public KorobovLatticeSequence(int b,
                                      int a)
        Constructs a new lattice sequence with base b and generator = a.
        Parameters:
        b - number of points (modulus) is a power of b
        a - multiplier a of this lattice sequence
    • Method Detail

      • getCoordinate

        public double getCoordinate(int i,
                                    int j)
        Description copied from class: PointSet
        Returns ui, j, the coordinate j of the point i.
        Overrides:
        getCoordinate in class Rank1Lattice
        Parameters:
        i - index of the point to look for
        j - index of the coordinate to look for
        Returns:
        the value of ui, j

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.