Loading...
Searching...
No Matches
cfUnivarGcd.h
Go to the documentation of this file.
/**
* @file cfUnivarGcd.h
*
* univariate Gcd over finite fields and Z, extended GCD over finite fields
* and Q
*
* @note if NTL or FLINT are available they are used to compute the (ext)Gcd
**/
#ifndef CF_UNIVAR_GCD_H
#define CF_UNIVAR_GCD_H
#ifdef HAVE_NTL
#include <NTL/ZZX.h>
#include "NTLconvert.h"
bool isPurePoly(const CanonicalForm & );
#ifndef HAVE_FLINT
CanonicalForm gcd_univar_ntl0( const CanonicalForm &, const CanonicalForm & );
CanonicalForm gcd_univar_ntlp( const CanonicalForm &, const CanonicalForm & );
#endif
#endif
#ifdef HAVE_FLINT
#include "FLINTconvert.h"
CanonicalForm gcd_univar_flint0 (const CanonicalForm &, const CanonicalForm &);
CanonicalForm gcd_univar_flintp (const CanonicalForm &, const CanonicalForm &);
#endif
#ifndef HAVE_NTL
CanonicalForm gcd_poly_univar0( const CanonicalForm & F, const CanonicalForm & G, bool primitive );
#endif
/*BEGINPUBLIC*/
CanonicalForm FACTORY_PUBLIC
extgcd ( const CanonicalForm & f, const CanonicalForm & g, CanonicalForm & a, CanonicalForm & b );
/*ENDPUBLIC*/
#endif
FLINTconvert.h
This file defines functions for conversion to FLINT (www.flintlib.org) and back.
NTLconvert.h
Conversion to and from NTL.
g
g
Definition cfModGcd.cc:4098
b
CanonicalForm b
Definition cfModGcd.cc:4111
extgcd
CanonicalForm FACTORY_PUBLIC extgcd(const CanonicalForm &f, const CanonicalForm &g, CanonicalForm &a, CanonicalForm &b)
CanonicalForm extgcd ( const CanonicalForm & f, const CanonicalForm & g, CanonicalForm & a,...
Definition cfUnivarGcd.cc:174
gcd_univar_flintp
CanonicalForm gcd_univar_flintp(const CanonicalForm &, const CanonicalForm &)
Definition cfUnivarGcd.cc:48
isPurePoly
bool isPurePoly(const CanonicalForm &)
Definition cf_factor.cc:248
gcd_univar_flint0
CanonicalForm gcd_univar_flint0(const CanonicalForm &, const CanonicalForm &)
Definition cfUnivarGcd.cc:61
gcd_poly_univar0
static CanonicalForm gcd_poly_univar0(const CanonicalForm &F, const CanonicalForm &G, bool primitive)
Definition cf_gcd.cc:178
f
FILE * f
Definition checklibs.c:9
CanonicalForm
factory's main class
Definition canonicalform.h:86
FACTORY_PUBLIC
#define FACTORY_PUBLIC
Definition globaldefs.h:25
G
STATIC_VAR TreeM * G
Definition janet.cc:31