QuasiRandom
Class DigitalRandomSequence

java.lang.Object
  extended byQuasiRandom.LowDiscrepancySequence
      extended byQuasiRandom.DigitalRandomSequence

public class DigitalRandomSequence
extends LowDiscrepancySequence

Digital low discrepancy sequence with generator matrices populated by random entries. A test class to see how this compares to Uniform sequences and cleverly chosen gnerator matrices.


Field Summary
 int[][] gMC
          gMC.................generator matrix columns.
 
Constructor Summary
DigitalRandomSequence(int dim)
          Constructor
 
Method Summary
 java.lang.String getName()
          Name of sequence.
static void main(java.lang.String[] args)
          TEST PROGRAM
 double[] nextPoint()
          The next nx point in the unit cube [0,1]^dim.
 
Methods inherited from class QuasiRandom.LowDiscrepancySequence
L2_discrepancy, L2_discrepancy, nextPoint, nextQuasiNormalVector, projectionPlot, restart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gMC

public int[][] gMC
gMC.................generator matrix columns. gMC[j][k] is the kth column of the generator matrix C(j) encoded as a decimal integer n by viewing the the sequence of zeros and ones in the column cc_k=ol_k(C(j)) as the digits of n in base 2 with the least significant digit being the first component of the column vector c_k.

Constructor Detail

DigitalRandomSequence

public DigitalRandomSequence(int dim)
Constructor

Method Detail

getName

public java.lang.String getName()
Description copied from class: LowDiscrepancySequence
Name of sequence.

Specified by:
getName in class LowDiscrepancySequence

nextPoint

public double[] nextPoint()
The next nx point in the unit cube [0,1]^dim.

Specified by:
nextPoint in class LowDiscrepancySequence

main

public static void main(java.lang.String[] args)
TEST PROGRAM