Module malachite_nz::natural::random
source · Expand description
Iterators that generate Natural
s randomly.
Structs§
- Generates random
Natural
s greater than or equal to a lower bound. - Generates random
Natural
s, given an iterator of random bit lengths. - Uniformly generates random
Natural
s less than a positive limit. - Generates random striped
Natural
s from a range. - Generates striped random
Natural
s greater than or equal to a lower bound. - Generates striped random
Natural
s, given an iterator of random bit lengths. - Uniformly generates random
Natural
s in an interval.
Enums§
- Generates random
Natural
s in an interval.
Functions§
- Generates a random
Natural
with a given bit length. - Generates a random
Natural
with a given maximum bit length. - Generates a striped random
Natural
with a given bit length. - Generates a striped random
Natural
with a given maximum bit length. - Generates random
Natural
s in the closed interval $[a, b]$. - Generates random
Natural
s in the half-open interval $[a, b)$. - Generates random
Natural
s greater than or equal to a lower bound $a$. - Generates random
Natural
s with a specified mean bit length. - Uniformly generates random
Natural
s less than a positivelimit
. - Generates random positive
Natural
s with a specified mean bit length. - Generates random striped
Natural
s in the range $[a, b]$. - Generates random striped
Natural
s in the range $[a, b)$. - Generates striped random
Natural
s greater than or equal to a lower bound $a$. - Generates striped random
Natural
s with a specified mean bit length. - Generates striped random positive
Natural
s with a specified mean bit length. - Uniformly generates random
Natural
s in the closed interval $[a, b]$. - Uniformly generates random
Natural
s in the half-open interval $[a, b)$.