public class LMScrambleShift extends RandomShift
PointSetRandomization
that performs a left matrix scrambling and adds a random digital
shift. Point set must be a
DigitalNet or an
IllegalArgumentException is thrown.| Constructor and Description |
|---|
LMScrambleShift(RandomStream stream)
Sets internal variable stream to the given
stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
randomize(PointSet p)
This method calls
leftMatrixScramble,
then
addRandomShift. |
getStream, setStreampublic LMScrambleShift(RandomStream stream)
stream - stream to use in the randomizationpublic void randomize(PointSet p)
leftMatrixScramble,
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.