31 result =
power( x, deg );
32 for ( i = deg-1; i >= 0; i-- )
52 BuildIrred (NTLirredpoly, i);
Conversion to and from NTL.
factory's class for variables
CanonicalForm convertNTLzzpX2CF(const zz_pX &poly, const Variable &x)
CFFList factorize(const CanonicalForm &f, bool issqrfree=false)
factorization over or
virtual CanonicalForm generate() const
static bool is_irreducible(const CanonicalForm &f)
generate random integers, random elements of finite fields
declarations of higher level algorithms.
CanonicalForm find_irreducible(int deg, CFRandom &gen, const Variable &x)
generate a random irreducible polynomial in x of degree deg
virtual class for random element generation
CanonicalForm randomIrredpoly(int i, const Variable &x)
computes a random monic irreducible univariate polynomial in x over Fp of degree i via NTL ...