Documentation Set for Swarm 1.3.1
Prev
Reference 5. Random Library
Next
ExponentialDist
Name
ExponentialDist — Exponential distribuiton
Description
A well-known continuous probability distribution returning doubles.
Protocols adopted by ExponentialDist
DoubleDistribution
CREATABLE
Methods
Phase: Creating
+
create:
aZone
setGenerator:
generator
setMean:
(double)
mean
+
create:
aZone
setGenerator:
generator
setVirtualGenerator:
(unsigned)
vGen
setMean:
(double)
mean
Phase: Using
-
setMean:
(double)
mean
The setMean: method sets the mean of the distribution.
- (double)
getMean
The getMean method returns the mean of the distribution.
- (double)
getSampleWithMean:
(double)
mean
The getSampleWithMean: method returns a sample value from a distribution with the specified mean.
Prev
Home
Next
DoubleDistribution
Up
GammaDist