umontreal.iro.lecuyer.hups
Class NiedSequenceBase2
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.NiedSequenceBase2
public class NiedSequenceBase2
- extends DigitalSequenceBase2
This class implements digital sequences constructed from the
Niederreiter sequence in base 2.
Constructor Summary |
NiedSequenceBase2(int k,
int w,
int dim)
Constructs a new digital sequence in base 2 from the first n = 2k points
of the Niederreiter sequence,
with w output digits, in dim dimensions. |
Method Summary |
void |
extendSequence(int k)
Increases the number of points to n = 2k from now on. |
String |
toString()
Formats a string that contains information about the point set. |
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 |
NiedSequenceBase2
public NiedSequenceBase2(int k,
int w,
int dim)
- Constructs a new digital sequence in base 2 from the first n = 2k points
of the Niederreiter sequence,
with w output digits, in dim dimensions.
The generator matrices
Cj are w×k.
Restrictions:
0 <= k <= 30, k <= w, and dim <= 318.
- 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
- Formats a string that contains information about the point set.
- Overrides:
toString
in class DigitalNetBase2
- Returns:
- string representation of the point set information
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.