org.omegahat.Simulation.RandomGenerators
Interface PseudoRandomUnivariateGenerator

All Superinterfaces:
PseudoRandomVariableGenerator
All Known Subinterfaces:
PseudoRandomNormalGenerator

public interface PseudoRandomUnivariateGenerator
extends PseudoRandomVariableGenerator

Pseudo-random variable generators for univariate variables representable by double's.


Method Summary
 double nextDouble()
          Generate a single pseudo-random value.
 double[] nextDouble(int n)
          Generate several pseudo-random values.
 
Methods inherited from interface org.omegahat.Simulation.RandomGenerators.PseudoRandomVariableGenerator
generator, nextVariable, nextVariable
 

Method Detail

nextDouble

public double nextDouble()
Generate a single pseudo-random value.

nextDouble

public double[] nextDouble(int n)
Generate several pseudo-random values.
Parameters:
n - number of double values to return