DistLib
Class hypergeometric

java.lang.Object
  |
  +--DistLib.hypergeometric

public class hypergeometric
extends java.lang.Object


Constructor Summary
hypergeometric()
           
 
Method Summary
static double cumulative(double x, double NR, double NB, double n)
           
static double density(double x, double NR, double NB, double n)
           
static double quantile(double x, double NR, double NB, double n)
           
static double random(double nn1in, double nn2in, double kkin, uniform PRNG)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

hypergeometric

public hypergeometric()
Method Detail

density

public static double density(double x,
                             double NR,
                             double NB,
                             double n)

cumulative

public static double cumulative(double x,
                                double NR,
                                double NB,
                                double n)

quantile

public static double quantile(double x,
                              double NR,
                              double NB,
                              double n)

random

public static double random(double nn1in,
                            double nn2in,
                            double kkin,
                            uniform PRNG)