public class SMScrambleShift extends RandomShift
PointSetRandomization
that performs a striped matrix scrambling and adds a random
digital shift. Point set must be a
DigitalNet or an
IllegalArgumentException is thrown.| Constructor and Description |
|---|
SMScrambleShift(RandomStream stream)
Sets internal variable stream to the given
stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
randomize(PointSet p)
This method calls
stripedMatrixScramble,
then
addRandomShift. |
getStream, setStreampublic SMScrambleShift(RandomStream stream)
stream - stream to use in the randomizationpublic void randomize(PointSet p)
stripedMatrixScramble,
then
addRandomShift.
If p is not a
DigitalNet, an
IllegalArgumentException is thrown.randomize in interface PointSetRandomizationrandomize in class RandomShiftp - Point set to randomizeTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.