Module malachite_q::exhaustive
source · [−]Expand description
Iterators that generate Rational
s without repetition.
Structs
Generates all negative Rational
s.
Generates all nonzero Rational
s.
Generates all positive Rational
s.
Generates all Rational
s with a specific denominator and with numerators from a given
iterator. Numerators that are not coprime with the denominator are skipped.
Functions
Generates all negative Rational
s.
Generates all non-positive Rational
s.
Generates all nonzero Rational
s.
Generates all positive Rational
s.
Generates all Rational
s.
Generates all Rational
s in the closed range $[a, b]$ and with a specific denominator, in
order of increasing absolute value.
Generates all Rational
s in the half-open range $[a, b)$ and with a specific denominator,
in order of increasing absolute value.
Generates all Rational
s greater than or equal to some number $a$ and with a specific
denominator, in order of increasing absolute value.
Generates all Rational
s less than or equal to some number $a$ and with a specific
denominator, in order of increasing absolute value.