Module malachite_q::random
source · [−]Expand description
Iterators that generate Rational
s randomly.
Structs
Functions
Generates random negative Rational
s with a specified numerator and denominator mean bit
length.
Generates random non-negative Rational
s with a specified numerator and denominator mean bit
length.
Generates random nonzero Rational
s with a specified numerator and denominator mean bit
length.
Generates random positive Rational
s with a specified numerator and denominator mean bit
length.
Generates random Rational
s with a specified numerator and denominator mean bit length.
Generates random Rational
s in the closed interval $[a, b]$ and with a specific
denominator.
Generates random Rational
s in the half-open interval $[a, b)$ and with a specific
denominator.
Generates random Rational
s greater than or equal to a lower bound $a$ and with a specific
denominator.
Generates random Rational
s less than or equal to a lower bound $a$ and with a specific
denominator.
Generates striped random negative Rational
s with a specified mean numerator and denominator
bit length.
Generates striped random non-positive Rational
s with a specified mean numerator and
denominator bit length.
Generates striped random nonzero Rational
s with a specified mean numerator and denominator
bit length.
Generates striped random positive Rational
s with a specified mean numerator and denominator
bit length.
Generates striped random Rational
s with a specified mean numerator and denominator bit
length.