|
||||||||||
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.Logarithmic
@Deprecated public class Logarithmic
Field Summary |
---|
Fields inherited from class org.apache.mahout.math.jet.random.AbstractDistribution |
---|
randomGenerator |
Constructor Summary | |
---|---|
Logarithmic(double p,
java.util.Random randomGenerator)
Deprecated. Constructs a Logarithmic distribution. |
Method Summary | |
---|---|
double |
nextDouble()
Deprecated. Returns a random number from the distribution. |
double |
nextDouble(double a)
Deprecated. Returns a random number from the distribution; bypasses the internal state. |
void |
setState(double p)
Deprecated. Sets the distribution parameter. |
static double |
staticNextDouble(double p)
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.AbstractContinousDistribution |
---|
cdf, nextInt, pdf |
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 Logarithmic(double p, java.util.Random randomGenerator)
Method Detail |
---|
public double nextDouble()
nextDouble
in class AbstractDistribution
public double nextDouble(double a)
public void setState(double p)
public static double staticNextDouble(double p)
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 |