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

Class F2wCycleBasedLFSR



  • public class F2wCycleBasedLFSR
    extends CycleBasedPointSetBase2
    This class creates a point set based upon a linear feedback shift register sequence. The recurrence used to produce the point set is

    mn = ∑i=1rbimn-i

    where mnF2w, n >=  0 and biF2w. There is a polynomial in F2w[z] associated with this recurrence called the characteristic polynomial. It is

    P(z) = zr + ∑i=1rbizr-i.

    In the implementation, this polynomial is stored in an object F2wStructure.

    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), φ(ys),…, φ(ys(t-1)) : (v0,…,vr-1)∈F2rw}

    where yn = trunch(vn,vn+1,…), vn is the representation of mn under the polynomial basis of F2w over F2, and h = w floor(31/w). The parameter s is called the stepping parameter of the recurrence.
    • Constructor Detail

      • F2wCycleBasedLFSR

        public F2wCycleBasedLFSR(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.
      • F2wCycleBasedLFSR

        public F2wCycleBasedLFSR(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.