|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.probdist.ContinuousDistribution umontreal.iro.lecuyer.probdist.NakagamiDist
public class NakagamiDist
Extends the class ContinuousDistribution
for
the Nakagami distribution with location parameter a,
scale parameter
λ > 0 and shape parameter c > 0.
The density is
Field Summary |
---|
Fields inherited from class umontreal.iro.lecuyer.probdist.ContinuousDistribution |
---|
decPrec |
Constructor Summary | |
---|---|
NakagamiDist(double a,
double lambda,
double c)
Constructs a NakagamiDist object with parameters a = a, λ = lambda and c = c. |
Method Summary | |
---|---|
double |
barF(double x)
Returns the complementary distribution function. |
static double |
barF(double a,
double lambda,
double c,
double x)
Computes the complementary distribution function. |
double |
cdf(double x)
Returns the distribution function F(x). |
static double |
cdf(double a,
double lambda,
double c,
double x)
Computes the distribution function. |
double |
density(double x)
Returns f (x), the density evaluated at x. |
static double |
density(double a,
double lambda,
double c,
double x)
Computes the density function of the Nakagami distribution. |
double |
getA()
Returns the location parameter a of this object. |
double |
getC()
Returns the shape parameter c of this object. |
double |
getLambda()
Returns the scale parameter λ of this object. |
double |
getMean()
Returns the mean. |
static double |
getMean(double a,
double lambda,
double c)
. |
double[] |
getParams()
Return a table containing the parameters of the current distribution. |
double |
getStandardDeviation()
Returns the standard deviation. |
static double |
getStandardDeviation(double a,
double lambda,
double c)
Computes the standard deviation of the Nakagami distribution with parameters a, λ and c. |
double |
getVariance()
Returns the variance. |
static double |
getVariance(double a,
double lambda,
double c)
. |
double |
inverseF(double u)
Returns the inverse distribution function x = F-1(u). |
static double |
inverseF(double a,
double lambda,
double c,
double u)
Computes the inverse of the distribution function. |
void |
setParams(double a,
double lambda,
double c)
Sets the parameters a, λ and c of this object. |
String |
toString()
Returns a String containing information about the current distribution. |
Methods inherited from class umontreal.iro.lecuyer.probdist.ContinuousDistribution |
---|
getXinf, getXsup, inverseBisection, inverseBrent, setXinf, setXsup |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NakagamiDist(double a, double lambda, double c)
Method Detail |
---|
public double density(double x)
ContinuousDistribution
density
in class ContinuousDistribution
x
- value at which the density is evaluated
public double cdf(double x)
Distribution
x
- value at which the distribution function is evaluated
public double barF(double x)
ContinuousDistribution
barF
in interface Distribution
barF
in class ContinuousDistribution
x
- value at which the complementary distribution function is evaluated
public double inverseF(double u)
ContinuousDistribution
inverseF
in interface Distribution
inverseF
in class ContinuousDistribution
u
- value at which the inverse distribution function is evaluated
public double getMean()
ContinuousDistribution
getMean
in interface Distribution
getMean
in class ContinuousDistribution
public double getVariance()
ContinuousDistribution
getVariance
in interface Distribution
getVariance
in class ContinuousDistribution
public double getStandardDeviation()
ContinuousDistribution
getStandardDeviation
in interface Distribution
getStandardDeviation
in class ContinuousDistribution
public static double density(double a, double lambda, double c, double x)
a
- the location parameterlambda
- the scale parameterc
- the shape parameterx
- the value at which the density is evaluated
public static double cdf(double a, double lambda, double c, double x)
a
- the location parameterlambda
- the scale parameterc
- the shape parameterx
- the value at which the distribution is evaluated
public static double barF(double a, double lambda, double c, double x)
a
- the location parameterlambda
- the scale parameterc
- the shape parameterx
- the value at which the complementary distribution is evaluated
public static double inverseF(double a, double lambda, double c, double u)
a
- the location parameterlambda
- the scale parameterc
- the shape parameteru
- the value at which the inverse distribution is evaluated
public static double getMean(double a, double lambda, double c)
a
- the location parameterlambda
- the scale parameterc
- the shape parameter
public static double getVariance(double a, double lambda, double c)
a
- the location parameterlambda
- the scale parameterc
- the shape parameter
public static double getStandardDeviation(double a, double lambda, double c)
a
- the location parameterlambda
- the scale parameterc
- the shape parameter
public double getA()
public double getLambda()
public double getC()
public void setParams(double a, double lambda, double c)
a
- the location parameterlambda
- the scale parameterc
- the shape parameterpublic double[] getParams()
public String toString()
toString
in class Object
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |