Overview | Package | Class | Tree | Deprecated | Index | Help
| SSJ V. 2.1.1.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## umontreal.iro.lecuyer.hups
Class LMScrambleShift

    java.lang.Object
      umontreal.iro.lecuyer.hups.RandomShift
          umontreal.iro.lecuyer.hups.LMScrambleShift

All Implemented Interfaces:
  PointSetRandomization

    public class LMScrambleShift

extends RandomShift

This class implements a `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 Summary
`LMScrambleShift(RandomStream stream)` Sets internal variable `stream` to the given `stream`.

Method Summary
`void` | `randomize(PointSet p)` This method calls `leftMatrixScramble`, then `addRandomShift`.

Methods inherited from class umontreal.iro.lecuyer.hups.RandomShift
`getStream, setStream`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LMScrambleShift

    public LMScrambleShift(RandomStream stream)

  Sets internal variable `stream` to the given `stream`.

  Parameters:
    `stream` - stream to use in the randomization

Method Detail

### randomize

    public void randomize(PointSet p)

  This method calls `leftMatrixScramble`, then `addRandomShift`. If `p` is not a `DigitalNet`, an `IllegalArgumentException` is thrown.

  Specified by:
    `randomize` in interface `PointSetRandomization`
  Overrides:
    `randomize` in class `RandomShift`
  Parameters:
    `p` - Point set to randomize

Overview | Package | Class | Tree | Deprecated | Index | Help
| SSJ V. 2.1.1.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.