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

Class F2wCycleBasedPolyLCG



  • public class F2wCycleBasedPolyLCG
    extends CycleBasedPointSetBase2
    This class creates a point set based upon a linear congruential sequence in the finite field F2w[z]/P(z). The recurrence is

    qn(z) = zsqn-1(z) mod P(z)

    where P(z)∈F2w[z] has degree r and qn(z) = qn, 1zr-1 + ... + qn, rF2w[z]/P(z). The parameter s is called the stepping parameter of the recurrence. The polynomial P(z) is not necessarily the characteristic polynomial of this recurrence, but it can still be used to store the parameters of the recurrence. In the implementation, it is stored in an object of the class F2wStructure. See the description of this class for more details on how the polynomial is stored.

    Let x = (x(0),…, x(p-1))∈F2p be a p-bit vector. Let us define the function φ(x) = ∑i=1p2-ix(i-1). The point set in t dimensions produced by this class is

    {(φ(y0), φ(y1),…, φ(yt-1) : (q0, 1,…,q0, r-1)∈F2rw}

    where yn = (qn, 1,…,qn, r), qn, i is the representation of qn, i under the polynomial basis of F2w over F2.
    • Constructor Detail

      • F2wCycleBasedPolyLCG

        public F2wCycleBasedPolyLCG(int w,
                                    int r,
                                    int modQ,
                                    int step,
                                    int nbcoeff,
                                    int[] coeff,
                                    int[] nocoeff)
        Constructs a point set with 2rw points. See the description of the class F2wStructure for the meaning of the parameters.
      • F2wCycleBasedPolyLCG

        public F2wCycleBasedPolyLCG(java.lang.String filename,
                                    int no)
        Constructs a point set after reading its parameters from file filename; the parameters are located at line numbered no of filename. The available files are listed in the description of class F2wStructure.
    • Method Detail

      • toString

        public java.lang.String toString()
        Description copied from class: PointSet
        Formats a string that contains information about the point set.
        Overrides:
        toString in class CycleBasedPointSet
        Returns:
        string representation of the point set information

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.