|
||||||||||
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.Poisson
@Deprecated public class Poisson
Field Summary |
---|
Fields inherited from class org.apache.mahout.math.jet.random.AbstractDistribution |
---|
randomGenerator |
Constructor Summary | |
---|---|
Poisson(double mean,
RandomEngine randomGenerator)
Deprecated. Constructs a poisson distribution. |
Method Summary | |
---|---|
double |
cdf(int k)
Deprecated. Returns the cumulative distribution function. |
java.lang.Object |
clone()
Deprecated. Returns a deep copy of the receiver; the copy will produce identical sequences. |
int |
nextInt()
Deprecated. Returns a random number from the distribution. |
int |
nextInt(double theMean)
Deprecated. Returns a random number from the distribution; bypasses the internal state. |
double |
pdf(int k)
Deprecated. Returns the probability distribution function. |
void |
setMean(double mean)
Deprecated. Sets the mean. |
static int |
staticNextInt(double mean)
Deprecated. Returns a random number from the distribution with the given mean. |
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, 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 Poisson(double mean, RandomEngine randomGenerator)
Method Detail |
---|
public double cdf(int k)
public java.lang.Object clone()
clone
in class AbstractDistribution
public int nextInt()
nextInt
in class AbstractDistribution
public int nextInt(double theMean)
public double pdf(int k)
public void setMean(double mean)
public static int staticNextInt(double mean)
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 |