|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.colt.PersistentObject
cern.jet.random.tdouble.AbstractDoubleDistribution
cern.jet.random.tdouble.AbstractDiscreteDistribution
cern.jet.random.tdouble.Zeta
public class Zeta
Zeta distribution.
Valid parameter ranges: ro > 0 and pk >= 0.
Instance methods operate on a user supplied uniform random number generator; they are unsynchronized.
Implementation:
J. Dagpunar (1988): Principles of Random Variate Generation, Clarendon Press, Oxford.
Constructor Summary | |
---|---|
Zeta(double ro,
double pk,
DoubleRandomEngine randomGenerator)
Constructs a Zeta distribution. |
Method Summary | |
---|---|
int |
nextInt()
Returns a random number from the distribution. |
void |
setState(double ro,
double pk)
Sets the parameters. |
static int |
staticNextInt(double ro,
double pk)
Returns a random number from the distribution. |
String |
toString()
Returns a String representation of the receiver. |
Methods inherited from class cern.jet.random.tdouble.AbstractDiscreteDistribution |
---|
nextDouble |
Methods inherited from class cern.jet.random.tdouble.AbstractDoubleDistribution |
---|
apply, apply, clone, makeDefaultGenerator |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Zeta(double ro, double pk, DoubleRandomEngine randomGenerator)
Method Detail |
---|
public int nextInt()
nextInt
in class AbstractDiscreteDistribution
public void setState(double ro, double pk)
public static int staticNextInt(double ro, double pk)
public String toString()
toString
in class Object
|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |