|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ZipfDistribution
The Zipf (or zeta) Distribution.
References:
Method Summary | |
---|---|
double |
getExponent()
Get the exponent characterising the distribution. |
int |
getNumberOfElements()
Get the number of elements (e.g. |
void |
setExponent(double s)
Set the exponent characterising the distribution. |
void |
setNumberOfElements(int n)
Set the number of elements (e.g. |
Methods inherited from interface org.apache.commons.math.distribution.IntegerDistribution |
---|
cumulativeProbability, cumulativeProbability, inverseCumulativeProbability, probability |
Methods inherited from interface org.apache.commons.math.distribution.DiscreteDistribution |
---|
probability |
Methods inherited from interface org.apache.commons.math.distribution.Distribution |
---|
cumulativeProbability, cumulativeProbability |
Method Detail |
---|
int getNumberOfElements()
void setNumberOfElements(int n)
IllegalArgumentException
is thrown.
n
- the number of elements
IllegalArgumentException
- if n ≤ 0double getExponent()
void setExponent(double s)
IllegalArgumentException
is thrown.
s
- the exponent
IllegalArgumentException
- if s ≤ 0.0
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |