class ExponentialDistribution extends AbstractRealDistribution {

    public double density(double x) {
        final double logDensity = logDensity(x);
        return logDensity == Double.NEGATIVE_INFINITY ? 0 : FastMath.exp(logDensity);
    }

    public  ExponentialDistribution(double mean);
    public  ExponentialDistribution(double mean, double inverseCumAccuracy);
    public  ExponentialDistribution(RandomGenerator rng, double mean);
    public  ExponentialDistribution(RandomGenerator rng,
                                   double mean,
                                   double inverseCumAccuracy);

}