|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhplot.math.num.pdf.ContinuousDistribution
jhplot.math.num.pdf.Cauchy
public class Cauchy
The Cauchy distribution (1).
References:
| Constructor Summary | |
|---|---|
Cauchy()
Default constructor. |
|
Cauchy(double m,
double s)
Create a distribution with the given location and scale parameters. |
|
| Method Summary | |
|---|---|
double |
cumulativeProbability(double x)
The CDF for this distribution. |
double |
getMedian()
Access the location parameter. |
double |
getScale()
Access the scale parameter. |
double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution. |
void |
setMedian(double m)
Modify the location parameter. |
void |
setScale(double s)
Modify the scale parameter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Cauchy()
public Cauchy(double m,
double s)
m - the location parameter.s - the scale parameter.| Method Detail |
|---|
public double cumulativeProbability(double x)
cumulativeProbability in class ContinuousDistributionx - the value at which the CDF is evaluated.
public double getMedian()
public double getScale()
public double inverseCumulativeProbability(double p)
inverseCumulativeProbability in class ContinuousDistributionp - the cumulative probability.
public void setMedian(double m)
m - The new location parameter value.public void setScale(double s)
s - The new scale parameter value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||