#include <cf_factory.h>
|
static int | gettype () |
|
static void | settype (int type) |
|
static InternalCF * | basic (int value) |
|
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/8]
Definition at line 122 of file cf_factory.cc.
157 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)
InternalCF * int2imm_gf(long i)
static InternalCF * int2imm(long i)
◆ basic() [2/8]
◆ basic() [3/8]
◆ basic() [4/8]
◆ basic() [5/8]
InternalCF * CFFactory::basic |
( |
int |
type, |
|
|
long |
value |
|
) |
| |
|
static |
Definition at line 99 of file cf_factory.cc.
116 ASSERT1( 0,
"illegal basic domain (type = %d)!", type );
#define ASSERT1(expression, message, parameter1)
#define LIKELY(expression)
For optimizing if-branches.
◆ basic() [6/8]
InternalCF * CFFactory::basic |
( |
int |
type, |
|
|
long |
value, |
|
|
bool |
nonimm |
|
) |
| |
|
static |
Definition at line 245 of file cf_factory.cc.
253 ASSERT( 0,
"illegal basic domain!" );
static InternalCF * basic(int value)
factory's class for rationals
◆ basic() [7/8]
◆ basic() [8/8]
◆ gettype()
static int CFFactory::gettype |
( |
| ) |
|
|
inlinestatic |
◆ poly() [1/2]
Definition at line 286 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 275 of file cf_factory.cc.
279 return result->normalize_myself();
CanonicalForm normalize(const CanonicalForm &F)
normalize a poly, i.e. in char 0 clear denominators, remove integer content in char p divide by leadi...
◆ 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: