#include <cf_factory.h>
|
static int | gettype () |
|
static void | settype (int type) |
|
static InternalCF * | basic (long value) |
|
static InternalCF * | basic (int type, long value) |
|
static InternalCF * | basic (const char *str) |
|
static InternalCF * | basic (const char *str, int base) |
|
static InternalCF * | basic (int type, const char *const str) |
|
static InternalCF * | basic (int type, long value, bool nonimm) |
|
static InternalCF * | basic (const mpz_ptr num) |
|
static InternalCF * | rational (long num, long den) |
|
static InternalCF * | rational (const mpz_ptr num, const mpz_ptr den, bool normalize) |
|
static InternalCF * | poly (const Variable &v, int exp, const CanonicalForm &c) |
|
static InternalCF * | poly (const Variable &v, int exp=1) |
|
Definition at line 23 of file cf_factory.h.
◆ basic() [1/7]
Definition at line 76 of file cf_factory.cc.
111 ASSERT( 0,
"illegal basic domain!" );
#define ASSERT(expression, message)
#define FiniteFieldDomain
#define GaloisFieldDomain
virtual class for internal CanonicalForm's
factory's class for integers
InternalCF * int2imm_p(long i)
static InternalCF * int2imm(long i)
InternalCF * int2imm_gf(long i)
◆ basic() [2/7]
◆ basic() [3/7]
◆ basic() [4/7]
◆ basic() [5/7]
InternalCF * CFFactory::basic |
( |
int |
type, |
|
|
long |
value |
|
) |
| |
|
static |
Definition at line 53 of file cf_factory.cc.
70 ASSERT1( 0,
"illegal basic domain (type = %d)!", type );
#define ASSERT1(expression, message, parameter1)
#define LIKELY(expression)
For optimizing if-branches.
◆ basic() [6/7]
InternalCF * CFFactory::basic |
( |
int |
type, |
|
|
long |
value, |
|
|
bool |
nonimm |
|
) |
| |
|
static |
Definition at line 199 of file cf_factory.cc.
207 ASSERT( 0,
"illegal basic domain!" );
static InternalCF * basic(long value)
factory's class for rationals
◆ basic() [7/7]
◆ gettype()
static int CFFactory::gettype |
( |
| ) |
|
|
inlinestatic |
◆ poly() [1/2]
Definition at line 240 of file cf_factory.cc.
factory's class for polynomials
const Variable & v
< [in] a sqrfree bivariate poly
gmp_float exp(const gmp_float &a)
◆ poly() [2/2]
◆ rational() [1/2]
Definition at line 229 of file cf_factory.cc.
233 return result->normalize_myself();
static poly normalize(poly next_p, ideal add_generators, syStrategy syzstr, int *g_l, int *p_l, int crit_comp)
◆ rational() [2/2]
InternalCF * CFFactory::rational |
( |
long |
num, |
|
|
long |
den |
|
) |
| |
|
static |
◆ settype()
static void CFFactory::settype |
( |
int |
type | ) |
|
|
inlinestatic |
◆ currenttype
The documentation for this class was generated from the following files: