numRecipes
クラス RandomGenerator

java.lang.Object
  |
  +--numRecipes.RandomGenerator

public class RandomGenerator
extends java.lang.Object

Utilities for Random generator in Numerical Calculation. Some of them are based on the Numerical Recipes Library


フィールドの概要
static double alogMu
           
static double expMu
           
static double GammaFactor
           
private  RandomDouble generator
           
private  boolean haveNextNextGaussian
           
static double muOld
           
private  double nextNextGaussian
           
static double sqMu
           
 
コンストラクタの概要
RandomGenerator()
           
 
メソッドの概要
 double GetGaussianDouble(double mu, double sigma)
           
 long GetPoissonian(double mu)
           
 double GetRandomDouble()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

generator

private RandomDouble generator

haveNextNextGaussian

private boolean haveNextNextGaussian

nextNextGaussian

private double nextNextGaussian

muOld

public static double muOld

expMu

public static double expMu

alogMu

public static double alogMu

sqMu

public static double sqMu

GammaFactor

public static double GammaFactor
コンストラクタの詳細

RandomGenerator

public RandomGenerator()
メソッドの詳細

GetRandomDouble

public double GetRandomDouble()

GetGaussianDouble

public double GetGaussianDouble(double mu,
                                double sigma)

GetPoissonian

public long GetPoissonian(double mu)