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

Class DigitalSequenceBase2

    • Constructor Detail

      • DigitalSequenceBase2

        public DigitalSequenceBase2()
    • Method Detail

      • extendSequence

        public abstract void extendSequence(int k)
        Increases the number of points to n = 2k from now on.
        Parameters:
        k - there will be 2^k points
      • toNet

        public DigitalNetBase2 toNet()
        Transforms this digital sequence into a digital net without changing the coordinates of the points. Returns the digital net.
      • toNetShiftCj

        public DigitalNetBase2 toNetShiftCj()
        Transforms this digital sequence into a digital net by adding one dimension and shifting all coordinates by one position. The first coordinate of point i is i/n, where n is the total number of points. Thus if the coordinates of a point of the digital sequence were (x0, x1, x2,…, xs-1), then the coordinates of the point of the digital net will be (i/n, x0, x1,…, xs-1). In other words, for the digital net, C0 is the reflected identity and for j >= 1, the Cj used is the Cj-1 of the digital sequence. If the digital sequence uses a digital shift, then the digital net will include the digital shift with one more dimension also. Returns the digital net.
      • iteratorShift

        public PointSetIterator iteratorShift()
        Similar to iterator, except that the first coordinate of the points is i/n, the second coordinate is obtained via the generating matrix C0, the next one via C1, and so on. Thus, this iterator shifts all coordinates of each point one position to the right and sets the first coordinate of point i to i/n, so that the points enumerated with this iterator have one more dimension. A digital shift, if present, will have one more dimension also. This iterator uses the Gray code.
      • iteratorShiftNoGray

        public PointSetIterator iteratorShiftNoGray()
        This iterator shifts all coordinates of each point one position to the right and sets the first coordinate of point i to i/n, so that the points enumerated with this iterator have one more dimension. This iterator does not use the Gray code: the points are enumerated in the order of their first coordinate before randomization. A digital shift, if present, will have one more dimension also.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.