Skip to main content

Module random

Module random 

Source
Expand description

Iterators that generate UnsignedPolynomials randomly.

Structs§

RandomUnsignedPolynomials
Generates random UnsignedPolynomials with coefficients from one iterator and leading coefficients from another.
RandomUnsignedPolynomialsWithDegree
Generates random UnsignedPolynomials of a given degree, with coefficients from one iterator and leading coefficients from another.

Functions§

random_unsigned_polynomials
Generates random UnsignedPolynomials.
random_unsigned_polynomials_degree_inclusive_range
Generates random UnsignedPolynomials with degrees in $[a, b]$.
random_unsigned_polynomials_degree_range
Generates random UnsignedPolynomials with degrees in $[a, b)$.
random_unsigned_polynomials_from_iterators
Generates random UnsignedPolynomials whose coefficients come from one iterator and whose leading coefficients come from another.
random_unsigned_polynomials_min_degree
Generates random UnsignedPolynomials with a minimum degree.
random_unsigned_polynomials_reduced_mod
Generates random UnsignedPolynomials that are reduced modulo $m$.
random_unsigned_polynomials_reduced_mod_power_of_2
Generates random UnsignedPolynomials that are reduced modulo $2^k$.
random_unsigned_polynomials_with_degree
Generates random UnsignedPolynomials of a given degree.
striped_random_unsigned_polynomials
Generates random UnsignedPolynomials with striped coefficients.
striped_random_unsigned_polynomials_degree_inclusive_range
Generates random UnsignedPolynomials with degrees in $[a, b]$ and striped coefficients.
striped_random_unsigned_polynomials_degree_range
Generates random UnsignedPolynomials with degrees in $[a, b)$ and striped coefficients.
striped_random_unsigned_polynomials_min_degree
Generates random UnsignedPolynomials with a minimum degree and striped coefficients.
striped_random_unsigned_polynomials_reduced_mod
Generates random UnsignedPolynomials that are reduced modulo $m$, with striped coefficients.
striped_random_unsigned_polynomials_reduced_mod_power_of_2
Generates random UnsignedPolynomials that are reduced modulo $2^k$, with striped coefficients.
striped_random_unsigned_polynomials_with_degree
Generates random UnsignedPolynomials of a given degree, with striped coefficients.

Type Aliases§

RandomPolynomialCoefficients
The coefficients that the unstriped UnsignedPolynomial generators draw on.
RandomPolynomialLeadingCoefficients
The leading coefficients that the unstriped UnsignedPolynomial generators draw on: a polynomial’s leading coefficient is never zero.
RandomUnsignedPolynomialsFromUnsigneds
The type of the UnsignedPolynomial generators that draw their coefficients from every u64 and their leading coefficients from every positive one, with lengths from a geometric distribution.
RandomUnsignedPolynomialsInDegreeRange
The type of the UnsignedPolynomial generators whose degrees are uniform over a range.
RandomUnsignedPolynomialsReducedMod
The type of the UnsignedPolynomial generator whose coefficients are reduced modulo a number.
RandomUnsignedPolynomialsReducedModPowerOf2
The type of the UnsignedPolynomial generator whose coefficients are reduced modulo a power of 2.
RandomUnsignedPolynomialsWithFixedDegree
The type of the UnsignedPolynomial generator whose degree is fixed.
StripedRandomPolynomialCoefficients
The coefficients that the striped UnsignedPolynomial generators draw on.
StripedRandomPolynomialLeadingCoefficients
The leading coefficients that the striped UnsignedPolynomial generators draw on.
StripedRandomUnsignedPolynomialsFromUnsigneds
The type of the striped UnsignedPolynomial generators with geometrically distributed lengths.
StripedRandomUnsignedPolynomialsInDegreeRange
The type of the striped UnsignedPolynomial generators whose degrees are uniform over a range.
StripedRandomUnsignedPolynomialsReducedMod
The type of the striped UnsignedPolynomial generator whose coefficients are reduced modulo a number.
StripedRandomUnsignedPolynomialsReducedModPowerOf2
The type of the striped UnsignedPolynomial generator whose coefficients are reduced modulo a power of 2.
StripedRandomUnsignedPolynomialsWithFixedDegree
The type of the striped UnsignedPolynomial generator whose degree is fixed.