Random Number Library (12)
Uniform Random Deviates of Basic Types (6)¶
Short Description | Function |
---|---|
Random integer | rand.int |
Random integer | rand.long |
Random integer | rand.float |
Random integer | rand.double |
Random string | rand.string |
Random bytes | rand.bytes |
Common Statistical Distributions (1)¶
Short Description | Function |
---|---|
Gaussian deviates | rand.gaussian |
Common Utility Types (1)¶
Short Description | Function |
---|---|
Type-4 UUID | rand.uuid4 |
Selecting Arbitrary Objects from a Bag (4)¶
Short Description | Function |
---|---|
Random object from a bag | rand.choice |
Random set of objects with replacement | rand.choices |
Random set of objects without replacement | rand.sample |
Random objects with a specified probability distribution | rand.histogram |