umontreal.iro.lecuyer.hups
Class NiedXingSequenceBase2
java.lang.Object
umontreal.iro.lecuyer.hups.PointSet
umontreal.iro.lecuyer.hups.DigitalNet
umontreal.iro.lecuyer.hups.DigitalNetBase2
umontreal.iro.lecuyer.hups.DigitalSequenceBase2
umontreal.iro.lecuyer.hups.NiedXingSequenceBase2
public class NiedXingSequenceBase2
- extends DigitalSequenceBase2
This class implements digital sequences based on the
Niederreiter-Xing sequence in base 2.
Constructor Summary |
NiedXingSequenceBase2(int k,
int w,
int dim)
Constructs a new Niederreiter-Xing digital sequence in base 2
with n = 2k points and w output digits, in dim dimensions. |
Methods inherited from class umontreal.iro.lecuyer.hups.DigitalNetBase2 |
addRandomShift, addRandomShift, clearRandomShift, getCoordinate, getCoordinateNoGray, iBinomialMatrixScramble, iBinomialMatrixScrambleFaurePermut, iBinomialMatrixScrambleFaurePermutAll, iBinomialMatrixScrambleFaurePermutDiag, iterator, iteratorNoGray, leftMatrixScramble, leftMatrixScrambleDiag, leftMatrixScrambleFaurePermut, leftMatrixScrambleFaurePermutAll, leftMatrixScrambleFaurePermutDiag, printGeneratorMatrices, printGeneratorMatricesTrans, rightMatrixScramble, stripedMatrixScramble, stripedMatrixScrambleFaurePermutAll |
Methods inherited from class umontreal.iro.lecuyer.hups.PointSet |
addRandomShift, addRandomShift, formatPoints, formatPoints, formatPoints, formatPoints, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsNumbered, formatPointsNumbered, getDimension, getNumPoints, getStream, randomize, randomize, randomize, randomize, randomize, setStream |
NiedXingSequenceBase2
public NiedXingSequenceBase2(int k,
int w,
int dim)
- Constructs a new Niederreiter-Xing digital sequence in base 2
with n = 2k points and w output digits, in dim dimensions.
The generator matrices
Cj are w×k and
the numbers making the bit matrices are taken from
Pirsic's site.
The bit matrices from Pirsic's site are transposed to be consistent with SSJ,
and at most 30 bits of the matrices are used.
Restrictions:
0 <= k <= 30, k <= w, and dim <= 32.
- Parameters:
k
- there will be 2^k pointsw
- number of output digitsdim
- dimension of the point set
toString
public String toString()
- Description copied from class:
PointSet
- .
string representation of the point set information
- Overrides:
toString
in class DigitalNetBase2
extendSequence
public void extendSequence(int k)
- Description copied from class:
DigitalSequenceBase2
- Increases the number of points to n = 2k from now on.
- Specified by:
extendSequence
in class DigitalSequenceBase2
- Parameters:
k
- there will be 2^k points
To submit a bug or ask questions, send an e-mail to
Pierre L'Ecuyer.