|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.benerator.distribution.CumulativeDistributionFunction
org.databene.benerator.distribution.cumulative.ExponentialDensityIntegral
public class ExponentialDensityIntegral
Inverse of the integral of the probability density f(x) = a e^{-ax} (x > 0),
which resolves to F^{-1}(x) = - log(1 - x) / a.
See Random
Number Generation from Non-uniform Distributions.
Created: 12.03.2010 15:41:21
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.databene.benerator.distribution.CumulativeDistributionFunction |
|---|
CumulativeDistributionFunction.IPINumberGenerator<E extends java.lang.Number> |
| Constructor Summary | |
|---|---|
ExponentialDensityIntegral(double a)
|
|
| Method Summary | |
|---|---|
double |
cumulativeProbability(double value)
|
double |
inverse(double probability)
|
| Methods inherited from class org.databene.benerator.distribution.CumulativeDistributionFunction |
|---|
applyTo, createGenerator, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExponentialDensityIntegral(double a)
| Method Detail |
|---|
public double cumulativeProbability(double value)
cumulativeProbability in class CumulativeDistributionFunctionpublic double inverse(double probability)
inverse in class CumulativeDistributionFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||