|
||||||||||
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,
java.util.Random randomGenerator)
Deprecated. Constructs a Beta distribution. |
Method Summary | |
---|---|
protected double |
b00(double a,
double b,
java.util.Random randomGenerator)
Deprecated. |
protected double |
b01(double a,
double b,
java.util.Random randomGenerator)
Deprecated. |
protected double |
b1prs(double p,
double q,
java.util.Random 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. |
java.lang.String |
toString()
Deprecated. Returns a String representation of the receiver. |
Methods inherited from class org.apache.mahout.math.jet.random.AbstractContinousDistribution |
---|
nextInt |
Methods inherited from class org.apache.mahout.math.jet.random.AbstractDistribution |
---|
apply, apply, getRandomGenerator, setRandomGenerator |
Methods inherited from class org.apache.mahout.math.PersistentObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Beta(double alpha, double beta, java.util.Random randomGenerator)
Method Detail |
---|
protected double b00(double a, double b, java.util.Random randomGenerator)
protected double b01(double a, double b, java.util.Random randomGenerator)
protected double b1prs(double p, double q, java.util.Random randomGenerator)
public double cdf(double x)
cdf
in class AbstractContinousDistribution
public double nextDouble()
nextDouble
in class AbstractDistribution
public double nextDouble(double alpha, double beta)
public double pdf(double x)
pdf
in class AbstractContinousDistribution
public final void setState(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 |