Module random

Source
Expand description

Iterators that generate Integers randomly.

Structs§

RandomIntegerRangeToInfinity
Generates random Integers greater than or equal to a lower bound, or less than or equal to an upper bound.
RandomIntegers
Generates random Integers, given an iterator of random signed bit lengths.
StripedRandomIntegerRangeToInfinity
Generates striped random Integers greater than or equal to a lower bound, or less than or equal to an upper bound.
StripedRandomIntegers
Generates striped random Integers, given an iterator of random signed bit lengths.
UniformRandomIntegerRange
Uniformly generates random Integers in an interval.

Enums§

RandomIntegerRange
Generates random Integers in an interval.
StripedRandomIntegerInclusiveRange
Generates random striped Integers from a range.

Functions§

get_random_integer_from_range_to_infinity
Generates a random Integer greater than or equal to a lower bound $a$.
get_random_integer_from_range_to_negative_infinity
Generates a random Integer less than or equal to a lower bound $a$.
get_striped_random_integer_from_inclusive_range
Generates a random striped Integer in the range $[a, b]$.
get_striped_random_integer_from_range
Generates a random striped Integer in the range $[a, b)$.
get_striped_random_integer_from_range_to_infinity
Generates a striped random Integer greater than or equal to a lower bound $a$.
get_striped_random_integer_from_range_to_negative_infinity
Generates a striped random Integer less than or equal to an upper bound $a$.
get_uniform_random_integer_from_inclusive_range
Generates a random Integer in the closed interval $[a, b]$.
get_uniform_random_integer_from_range
Generates a random Integer in the half-open interval $[a, b)$.
random_integer_inclusive_range
Generates random Integers in the closed interval $[a, b]$.
random_integer_range
Generates random Integers in the half-open interval $[a, b)$.
random_integer_range_to_infinity
Generates random Integers greater than or equal to a lower bound $a$.
random_integer_range_to_negative_infinity
Generates random Integers less than or equal to an upper bound $a$.
random_integers
Generates random Integers whose absolute values have a specified mean bit length.
random_natural_integers
Generates random natural (non-negative) Integers with a specified mean bit length.
random_negative_integers
Generates random negative Integers whose absolute values have a specified mean bit length.
random_nonzero_integers
Generates random nonzero Integers whose absolute values have a specified mean bit length.
random_positive_integers
Generates random positive Integers with a specified mean bit length.
striped_random_integer_inclusive_range
Generates random striped Integers in the range $[a, b]$.
striped_random_integer_range
Generates random striped Integers in the range $[a, b)$.
striped_random_integer_range_to_infinity
Generates striped random Integers greater than or equal to a lower bound $a$.
striped_random_integer_range_to_negative_infinity
Generates striped random Integers less than or equal to an upper bound $a$.
striped_random_integers
Generates striped random Integers whose absolute values have a specified mean bit length.
striped_random_natural_integers
Generates striped random natural (non-negative) Integers with a specified mean bit length.
striped_random_negative_integers
Generates striped random negative Integers whose absolute values have a specified mean bit length.
striped_random_nonzero_integers
Generates striped random nonzero Integers whose absolute values have a specified mean bit length.
striped_random_positive_integers
Generates striped random positive Integers with a specified mean bit length.
uniform_random_integer_inclusive_range
Uniformly generates random Integers in the closed interval $[a, b]$.
uniform_random_integer_range
Uniformly generates random Integers in the half-open interval $[a, b)$.