|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.math.num.pdf.ContinuousDistribution
jhplot.math.num.pdf.Uniform
public class Uniform
The Uniform distribution (1).
References:
Constructor Summary | |
---|---|
Uniform()
Default constructor. |
|
Uniform(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 java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Uniform()
public Uniform(double a, double b)
a
- the lower bound parameter.b
- the upper bound parameter.Method Detail |
---|
public double cumulativeProbability(double x)
cumulativeProbability
in class ContinuousDistribution
x
- the value at which the CDF is evaluated.
public double getLower()
public double getUpper()
public double inverseCumulativeProbability(double p)
inverseCumulativeProbability
in class ContinuousDistribution
p
- 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 | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |