|
||||||||||
| 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.LaplaceDistribution
public class LaplaceDistribution
The Laplace distribution.
References:
| Constructor Summary | |
|---|---|
LaplaceDistribution()
Default constructor. |
|
LaplaceDistribution(double m,
double s)
Create a distribution with the given mean and scale. |
|
| Method Summary | |
|---|---|
double |
cumulativeProbability(double x)
The CDF for this distribution. |
double |
getMean()
Access the mean. |
double |
getScale()
Access the scale. |
double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution. |
void |
setMean(double m)
Modify the mean. |
void |
setScale(double s)
Modify the scale. |
| 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 LaplaceDistribution()
public LaplaceDistribution(double m,
double s)
m - the mean.s - the scale.| Method Detail |
|---|
public double cumulativeProbability(double x)
cumulativeProbability in class ContinuousDistributionx - the value at which the CDF is evaluated.
public double getMean()
public double getScale()
public double inverseCumulativeProbability(double p)
inverseCumulativeProbability in class ContinuousDistributionp - the cumulative probability.
public void setMean(double m)
m - the new mean value.public void setScale(double s)
s - the new scale value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||