25package umontreal.ssj.probdist;
49 super(
new double[] { c },
new double[] { 1.0 }, 1);
ConstantDist(double c)
Constructs a new constant distribution with probability 1 at c.
double getMean()
Returns the mean .
double getStandardDeviation()
Returns the standard deviation = 0.
double getVariance()
Returns the variance .
double inverseF(double u)
Returns the inverse distribution function .