Example usage for org.apache.commons.math.random BitsStreamGenerator subclass-usage

List of usage examples for org.apache.commons.math.random BitsStreamGenerator subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.math.random BitsStreamGenerator subclass-usage.

Usage

From source file cz.paulrz.montecarlo.random.Sobol.java

/**
 * <p>Generator for the Sobol sequence. Uses the Gray code counter and bitwise
 * operations for very fast point generation.</p>
 * <p/>
 * <p>Use N=2^n-1, n=1,2,... points for QMC integration.
 * At N=2^n-1 the Gray code counter G(k) is in sync with the integer sequence