|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.PersistentObject
org.apache.mahout.math.jet.random.AbstractDistribution
org.apache.mahout.math.jet.random.AbstractDiscreteDistribution
org.apache.mahout.math.jet.random.Zeta
@Deprecated public class Zeta
Field Summary |
---|
Fields inherited from class org.apache.mahout.math.jet.random.AbstractDistribution |
---|
randomGenerator |
Constructor Summary | |
---|---|
Zeta(double ro,
double pk,
RandomEngine randomGenerator)
Deprecated. Constructs a Zeta distribution. |
Method Summary | |
---|---|
protected long |
generateZeta(double ro,
double pk,
RandomEngine randomGenerator)
Deprecated. Returns a zeta distributed random number. |
int |
nextInt()
Deprecated. Returns a random number from the distribution. |
void |
setState(double ro,
double pk)
Deprecated. Sets the parameters. |
static int |
staticNextInt(double ro,
double pk)
Deprecated. Returns a random number from the distribution. |
java.lang.String |
toString()
Deprecated. Returns a String representation of the receiver. |
Methods inherited from class org.apache.mahout.math.jet.random.AbstractDiscreteDistribution |
---|
nextDouble |
Methods inherited from class org.apache.mahout.math.jet.random.AbstractDistribution |
---|
apply, apply, clone, getRandomGenerator, makeDefaultGenerator, nextByte, nextChar, nextFloat, nextLong, setRandomGenerator |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Zeta(double ro, double pk, RandomEngine randomGenerator)
Method Detail |
---|
protected long generateZeta(double ro, double pk, RandomEngine randomGenerator)
public int nextInt()
nextInt
in class AbstractDistribution
public void setState(double ro, double pk)
public static int staticNextInt(double ro, double pk)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |