B C D E G L M P R S U

B

BIG_PRIME - Static variable in class edu.cornell.lassp.houle.RngPack.Ranmar
The 46,009,220nd prime number, he largest prime less than 9*108.

C

ClockSeed(Date) - Static method in class edu.cornell.lassp.houle.RngPack.RandomSeedable
Return a long integer seed given a date
ClockSeed() - Static method in class edu.cornell.lassp.houle.RngPack.RandomSeedable
Return a long integer seed calculated from the date.
choose(int) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
choose(int, int) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
choose(int, int) - Method in class edu.cornell.lassp.houle.RngPack.RandomSynchronized
Wrapped so generators can override.
clone() - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
coin() - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
coin(double) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 

D

DEFSEED - Static variable in class edu.cornell.lassp.houle.RngPack.Ranmar
Default seed.
DEFSEED1 - Static variable in class edu.cornell.lassp.houle.RngPack.Ranecu
default iseed1 = 12345
DEFSEED2 - Static variable in class edu.cornell.lassp.houle.RngPack.Ranecu
default iseed2 = 67890

E

edu.cornell.lassp.houle.RngPack - package edu.cornell.lassp.houle.RngPack
 

G

gaussian() - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
gaussian() uses the Box-Muller algorithm to transform raw()'s into gaussian deviates.
gaussian(double) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
gaussian() - Method in class edu.cornell.lassp.houle.RngPack.RandomSynchronized
Must be synchronized because state is stored in BMoutput
getSeed() - Method in class edu.cornell.lassp.houle.RngPack.Ranecu
 

L

lxdflt - Static variable in class edu.cornell.lassp.houle.RngPack.Ranlux
Default luxury level: lxdflt=3

M

main(String[]) - Static method in class edu.cornell.lassp.houle.RngPack.RandomApp
 
maxlev - Static variable in class edu.cornell.lassp.houle.RngPack.Ranlux
Maximum luxury level: maxlev=4

P

powlaw(double, double) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
generate a power-law distribution with exponent alpha and lower cutoff cut

R

RanMT - class edu.cornell.lassp.houle.RngPack.RanMT.
Mersenne Twister -- advanced psuedorandom generator with a period of 219937-1
RanMT() - Constructor for class edu.cornell.lassp.houle.RngPack.RanMT
 
RanMT(long) - Constructor for class edu.cornell.lassp.houle.RngPack.RanMT
 
RanMT(Date) - Constructor for class edu.cornell.lassp.houle.RngPack.RanMT
 
RanMT(int[]) - Constructor for class edu.cornell.lassp.houle.RngPack.RanMT
If a 32 bit seed isn't enough for you, you can pass an array of 624 integers.
RandomApp - class edu.cornell.lassp.houle.RngPack.RandomApp.
RandomApp is a simple application that demonstrates the use of RngPack.
RandomApp() - Constructor for class edu.cornell.lassp.houle.RngPack.RandomApp
 
RandomElement - class edu.cornell.lassp.houle.RngPack.RandomElement.
RandomElement is an abstract class that encapsulates random number generators.
RandomElement() - Constructor for class edu.cornell.lassp.houle.RngPack.RandomElement
 
RandomJava - class edu.cornell.lassp.houle.RngPack.RandomJava.
RandomJava is a class wrapper for the Math.random() generator that comes with Java.
RandomJava() - Constructor for class edu.cornell.lassp.houle.RngPack.RandomJava
 
RandomSeedable - class edu.cornell.lassp.houle.RngPack.RandomSeedable.
RandomSeedable is an abstract class that extends the RandomElement class to include the ability to automatically generate a valid long seed from the clock.
RandomSeedable() - Constructor for class edu.cornell.lassp.houle.RngPack.RandomSeedable
 
RandomShuffle - class edu.cornell.lassp.houle.RngPack.RandomShuffle.
RandomShuffle uses one random number generator to shuffle the numbers produced by another to obliterate sequential correlations.
RandomShuffle(RandomElement, RandomElement, int) - Constructor for class edu.cornell.lassp.houle.RngPack.RandomShuffle
 
RandomSynchronized - class edu.cornell.lassp.houle.RngPack.RandomSynchronized.
RandomSynchronized is a wrapper class that makes a random number generator safe for multi-threaded operation by serializing access in time.
RandomSynchronized(RandomElement) - Constructor for class edu.cornell.lassp.houle.RngPack.RandomSynchronized
 
Ranecu - class edu.cornell.lassp.houle.RngPack.Ranecu.
Ranecu is an advanced multiplicative linear congruential random number generator with a period of aproximately 1018.
Ranecu() - Constructor for class edu.cornell.lassp.houle.RngPack.Ranecu
Initialize RANECU with the default seeds from James.
Ranecu(int, int) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranecu
Initialize RANECU with two specified integer seeds.
Ranecu(long) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranecu
 
Ranecu(Date) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranecu
 
Ranlux - class edu.cornell.lassp.houle.RngPack.Ranlux.
RANLUX is an advanced pseudo-random number generator based on the RCARRY algorithm proposed in 1991 by Marsaglia and Zaman.
Ranlux() - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Default initialization of RANLUX.
Ranlux(int, int) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with specified luxury level and seed.
Ranlux(int, long) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with specified luxury level and seed.
Ranlux(int) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with default luxury level and a specified seed.
Ranlux(long) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with default luxury level and a specified seed.
Ranlux(int, Date) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with specified luxury level and a Date object.
Ranlux(Date) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with default luxury level and a Date object.
Ranmar - class edu.cornell.lassp.houle.RngPack.Ranmar.
RANMAR is a lagged Fibonacci generator proposed by Marsaglia and Zaman and is a good research grade generator.
Ranmar(int) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranmar
Initialize Ranmar with a specified integer seed
Ranmar(long) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranmar
Initialize Ranmar with a specified long seed
Ranmar() - Constructor for class edu.cornell.lassp.houle.RngPack.Ranmar
Initialize Ranmar with a default seed taken from Marsaglia and Zaman's paper.
Ranmar(Date) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranmar
Seed RANMAR from the clock.
raw() - Method in class edu.cornell.lassp.houle.RngPack.RanMT
 
raw() - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
The abstract method that must be defined to make a working RandomElement.
raw(double[], int) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
Fill part or all of an array with doubles.
raw(double[]) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
Fill an entire array with doubles.
raw() - Method in class edu.cornell.lassp.houle.RngPack.RandomJava
Wrapper for Math.random().
raw() - Method in class edu.cornell.lassp.houle.RngPack.RandomShuffle
The generator.
raw() - Method in class edu.cornell.lassp.houle.RngPack.RandomSynchronized
Synchronized the raw() method, which is generally not threadsafe.
raw(double[], int) - Method in class edu.cornell.lassp.houle.RngPack.RandomSynchronized
This method probably isn't threadsafe in implementations, so it's synchronized
raw() - Method in class edu.cornell.lassp.houle.RngPack.Ranecu
 
raw(double[], int) - Method in class edu.cornell.lassp.houle.RngPack.Ranecu
This is an inline version that returns an array of doubles for speed.
raw() - Method in class edu.cornell.lassp.houle.RngPack.Ranlux
The random number generator.
raw() - Method in class edu.cornell.lassp.houle.RngPack.Ranmar
The generator
raw(double[], int) - Method in class edu.cornell.lassp.houle.RngPack.Ranmar
A version of the generator for filling arrays, inlined for speed

S

setDiag(boolean) - Method in class edu.cornell.lassp.houle.RngPack.Ranlux
Turns diagnostic messages on and off.

U

uniform(double, double) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 

B C D E G L M P R S U