|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhplot.math.num.pdf.DiscreteDistribution
public abstract class DiscreteDistribution
Base discrete distribution.
| Constructor Summary | |
|---|---|
DiscreteDistribution()
|
|
| Method Summary | |
|---|---|
abstract double |
cumulativeProbability(int x)
The CDF for this distribution. |
abstract int |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution. |
abstract double |
probability(int x)
The PMF for this distribution. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiscreteDistribution()
| Method Detail |
|---|
public abstract double cumulativeProbability(int x)
throws NumericException
x - the value at which the CDF is evaluated.
NumericException - if the cumulative probability can not be
computed.
public abstract int inverseCumulativeProbability(double p)
throws NumericException
p - the cumulative probability.
NumericException - if the inverse cumulative probability can not be
computed.
public abstract double probability(int x)
throws NumericException
x - the value at which the probability is evaluated.
NumericException - if the probability can not be computed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||