|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doodleproject.numerics4j.statistics.distribution.ContinuousDistribution
net.sf.doodleproject.numerics4j.statistics.distribution.UniformDistribution
public class UniformDistribution
The Uniform distribution (1).
References:
| Constructor Summary | |
|---|---|
UniformDistribution()
Default constructor. |
|
UniformDistribution(double a,
double b)
Create a distribution with the given lower bound and upper bound values. |
|
| Method Summary | |
|---|---|
double |
cumulativeProbability(double x)
The CDF for this distribution. |
double |
getLower()
Access the lower parameter. |
double |
getUpper()
Access the upper parameter. |
double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution. |
void |
setLower(double low)
Modify the lower bound parameter. |
void |
setUpper(double up)
Modify the upper bound parameter. |
| Methods inherited from class net.sf.doodleproject.numerics4j.statistics.distribution.ContinuousDistribution |
|---|
findInverseCumulativeProbability |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniformDistribution()
public UniformDistribution(double a,
double b)
a - the lower bound parameter.b - the upper bound parameter.| Method Detail |
|---|
public double cumulativeProbability(double x)
cumulativeProbability in class ContinuousDistributionx - the value at which the CDF is evaluated.
public double getLower()
public double getUpper()
public double inverseCumulativeProbability(double p)
inverseCumulativeProbability in class ContinuousDistributionp - the cumulative probability.
public void setLower(double low)
low - the new lower bound value.public void setUpper(double up)
up - the new upper bound value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||