Loading...
Searching...
No Matches
cf_irred.h
Go to the documentation of this file.
/* emacs edit mode for this file is -*- C++ -*- */
/**
* @file cf_irred.h
*
* generate random irreducible univariate polynomials
**/
#ifndef INCL_CF_IRRED_H
#define INCL_CF_IRRED_H
// #include "config.h"
#include "canonicalform.h"
#include "cf_random.h"
/** generate a random irreducible polynomial in x of degree deg
*
* @warning this is done in the most naive way, i.e. a random is generated and
* then factorized
**/
CanonicalForm find_irreducible ( int deg, CFRandom & gen, const Variable & x );
CanonicalForm
randomIrredpoly (int i, const Variable & x);
#endif /* ! INCL_CF_IRRED_H */
canonicalform.h
Header for factory's main class CanonicalForm.
i
int i
Definition cfEzgcd.cc:132
x
Variable x
Definition cfModGcd.cc:4090
randomIrredpoly
CanonicalForm randomIrredpoly(int i, const Variable &x)
computes a random monic irreducible univariate polynomial in x over Fp of degree i via NTL/FLINT
Definition cf_irred.cc:26
find_irreducible
CanonicalForm find_irreducible(int deg, CFRandom &gen, const Variable &x)
generate a random irreducible polynomial in x of degree deg
cf_random.h
generate random integers, random elements of finite fields
CFRandom
virtual class for random element generation
Definition cf_random.h:21
CanonicalForm
factory's main class
Definition canonicalform.h:86
Variable
factory's class for variables
Definition factory.h:127