UniformDoubleDist
Name
UniformDoubleDist -- Uniform Double Distribution
Description
A generator of floating point values uniformly distributed across a half-open interval [min,max). (The interval includes the lower endpoint but excludes the upper endpoint.) NOTE: Setting minValue == maxValue is allowed (and returns minValue).
Methods
Phase: Creating
+
create: (id <Zone>)
aZone setGenerator: (id <SplitRandomGenerator>)
splitGenerator setVirtualGenerator: (unsigned)
vGen setDoubleMin: (double)
minValue setMax: (double)
maxValue Use this create message if the generator to be attached is a Split one:
+
create: (id <Zone>)
aZone setGenerator: (id <SimpleRandomGenerator>)
simpleGenerator setDoubleMin: (double)
minValue setMax: (double)
maxValue Use this create message if the generator to be attached is a Simple one:
Phase: Setting
-
setDoubleMin: (double)
minValue setMax: (double)
maxValue The setDoubleMin:setMax method sets the minimum and maximum floating point values of the distribution.
Phase: Using
- (double)
getDoubleWithMin: (double)
minValue withMax: (double)
maxValue The getDoubleWithMin:withMax: method returns a floating point value within the range [min, max).
- (double)
getDoubleMax The getDoubleMax method returns the maximum floating point value in the specified range.
- (double)
getDoubleMin The getDoubleMin method returns the minimum floating point value in the specified range.