Java org.apache.commons.math3.distribution ExponentialDistribution fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.distribution ExponentialDistribution fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.distribution ExponentialDistribution.

The text is from its open source code.

Field

doubleDEFAULT_INVERSE_ABSOLUTE_ACCURACY
Default inverse cumulative probability accuracy.

Constructor

ExponentialDistribution(double mean, double inverseCumAccuracy)
Create an exponential distribution with the given mean.
ExponentialDistribution(double mean)
Create an exponential distribution with the given mean.
ExponentialDistribution(RandomGenerator rng, double mean, double inverseCumAccuracy)
Creates an exponential distribution.

Method

voidreseedRandomGenerator(long seed)
doublesample()

Algorithm Description: this implementation uses the Inversion Method to generate exponentially distributed random values from uniform deviates.