|
||||||||||
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.AbstractContinousDistribution
org.apache.mahout.math.jet.random.Beta
@Deprecated public class Beta
Field Summary |
---|
Fields inherited from class org.apache.mahout.math.jet.random.AbstractDistribution |
---|
randomGenerator |
Constructor Summary | |
---|---|
Beta(double alpha,
double beta,
RandomEngine randomGenerator)
Deprecated. Constructs a Beta distribution. |
Method Summary | |
---|---|
protected double |
b00(double a,
double b,
RandomEngine randomGenerator)
Deprecated. |
protected double |
b01(double a,
double b,
RandomEngine randomGenerator)
Deprecated. |
protected double |
b1prs(double p,
double q,
RandomEngine randomGenerator)
Deprecated. |
double |
cdf(double x)
Deprecated. Returns the cumulative distribution function. |
double |
nextDouble()
Deprecated. Returns a random number from the distribution. |
double |
nextDouble(double alpha,
double beta)
Deprecated. Returns a beta distributed random number; bypasses the internal state. |
double |
pdf(double x)
Deprecated. Returns the cumulative distribution function. |
void |
setState(double alpha,
double beta)
Deprecated. Sets the parameters. |
static double |
staticNextDouble(double alpha,
double beta)
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.AbstractDistribution |
---|
apply, apply, clone, getRandomGenerator, makeDefaultGenerator, nextByte, nextChar, nextFloat, nextInt, nextLong, setRandomGenerator |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Beta(double alpha, double beta, RandomEngine randomGenerator)
Method Detail |
---|
protected double b00(double a, double b, RandomEngine randomGenerator)
protected double b01(double a, double b, RandomEngine randomGenerator)
protected double b1prs(double p, double q, RandomEngine randomGenerator)
public double cdf(double x)
public double nextDouble()
nextDouble
in class AbstractDistribution
public double nextDouble(double alpha, double beta)
public double pdf(double x)
public void setState(double alpha, double beta)
public static double staticNextDouble(double alpha, double beta)
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 |