![]() |
#include "config.h"#include "cf_assert.h"#include "cf_defs.h"#include "canonicalform.h"#include "cf_algorithm.h"#include "cf_random.h"#include "NTLconvert.h"Go to the source code of this file.
Functions | |
| static bool | is_irreducible (const CanonicalForm &f) |
| CanonicalForm | find_irreducible (int deg, CFRandom &gen, const Variable &x) |
| generate a random irreducible polynomial in x of degree deg More... | |
| CanonicalForm | randomIrredpoly (int i, const Variable &x) |
| computes a random monic irreducible univariate polynomial in x over Fp of degree i via NTL More... | |
| CanonicalForm find_irreducible | ( | int | deg, |
| CFRandom & | gen, | ||
| const Variable & | x | ||
| ) |
generate a random irreducible polynomial in x of degree deg
Definition at line 26 of file cf_irred.cc.
|
static |
Definition at line 19 of file cf_irred.cc.
| CanonicalForm randomIrredpoly | ( | int | i, |
| const Variable & | x | ||
| ) |
computes a random monic irreducible univariate polynomial in x over Fp of degree i via NTL
Definition at line 42 of file cf_irred.cc.