Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

riso.numerical
Class LowDiscrepency  view LowDiscrepency download LowDiscrepency.java

java.lang.Object
  extended byriso.numerical.LowDiscrepency

public class LowDiscrepency
extends java.lang.Object

Translated from http://www.netlib.org/toms/659, an implementation of Sobol's low-discrepency sequence generator, by P Bratley and B L Fox. Described in ACM Trans. on Mathematical Software, vol. 14, no. 1, pp 88--100.

Note that this scheme works only in 2 or more dimensions -- it cannot generate a 1-dimensional sequence.

This file is distributed under the terms of the ACM Software Copyright and License Agreement. A copy of the license agreement, ACM-LICENSE.html, is included with the RISO distribution.


Field Summary
(package private) static int[] primes
           
 
Constructor Summary
LowDiscrepency()
           
 
Method Summary
static void gofaur(double[] quasi)
           
static void gohalt(double[] quasi)
           
static void infaur(boolean[] flag, int dimen, int atmost)
          dimen must be at least 2.
static void inhalt(boolean[] flag, int dimen, int atmost, double tiny, double[] quasi)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

primes

static int[] primes
Constructor Detail

LowDiscrepency

public LowDiscrepency()
Method Detail

infaur

public static void infaur(boolean[] flag,
                          int dimen,
                          int atmost)
dimen must be at least 2.


gofaur

public static void gofaur(double[] quasi)

inhalt

public static void inhalt(boolean[] flag,
                          int dimen,
                          int atmost,
                          double tiny,
                          double[] quasi)

gohalt

public static void gohalt(double[] quasi)

main

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