Expand description

Iterators that generate Rationals randomly.

Structs

Generates random negative Rationals, given an iterator of positive Rationals.

Generates random non-negative Rationals, given an iterator of random Natural numerators and an iterator of random Natural denominators.

Generates random non-negative Rationals, given an iterator of random Natural numerators, an iterator of random Natural denominators, and an iterator of bool signs.

Generates random non-negative Rationals, given an iterator of random Natural numerators and denominators.

Generates random non-negative Rationals, given an iterator of random Natural numerators and an iterator of bool signs.

Functions

Generates random negative Rationals with a specified numerator and denominator mean bit length.

Generates random non-negative Rationals with a specified numerator and denominator mean bit length.

Generates random nonzero Rationals with a specified numerator and denominator mean bit length.

Generates random positive Rationals with a specified numerator and denominator mean bit length.

Generates random Rationals with a specified numerator and denominator mean bit length.

Generates random Rationals in the closed interval $[a, b]$ and with a specific denominator.

Generates random Rationals in the half-open interval $[a, b)$ and with a specific denominator.

Generates random Rationals greater than or equal to a lower bound $a$ and with a specific denominator.

Generates random Rationals less than or equal to a lower bound $a$ and with a specific denominator.

Generates striped random negative Rationals with a specified mean numerator and denominator bit length.

Generates striped random non-positive Rationals with a specified mean numerator and denominator bit length.

Generates striped random nonzero Rationals with a specified mean numerator and denominator bit length.

Generates striped random positive Rationals with a specified mean numerator and denominator bit length.

Generates striped random Rationals with a specified mean numerator and denominator bit length.