#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.
  123{
  128            delete dummy;
  130        }
  131        else
  132            return dummy;
  133    }
  134
  135
  136
  137
  138
  139
  140
  141
  142
  143
  147        delete dummy;
  149    }
  153        delete dummy;
  155    }
  156    else {
  157        ASSERT( 0, 
"illegal basic domain!" );
 
  158        return 0;
  159    }
  160}
#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]
Definition at line 163 of file cf_factory.cc.
  164{
  169            delete dummy;
  171        }
  172        else
  173            return dummy;
  174    }
  175
  176
  177
  178
  179
  180
  181
  182
  183
  184
  188        delete dummy;
  190    }
  194        delete dummy;
  196    }
  197    else {
  198        ASSERT( 0, 
"illegal basic domain!" );
 
  199        return 0;
  200    }
  201}
 
 
◆ basic() [3/8]
◆ basic() [4/8]
Definition at line 204 of file cf_factory.cc.
  205{
  210            delete dummy;
  212        }
  213        else
  214            return dummy;
  215    }
  216
  217
  218
  219
  220
  221
  222
  223
  224
  225
  229        delete dummy;
  231    }
  235        delete dummy;
  237    }
  238    else {
  239        ASSERT( 0, 
"illegal basic domain!" );
 
  240        return 0;
  241    }
  242}
 
 
◆ basic() [5/8]
  
  | 
        
          | InternalCF * CFFactory::basic | ( | int | type, |  
          |  |  | long | value |  
          |  | ) |  |  |  | static | 
 
Definition at line 99 of file cf_factory.cc.
  100{
  104        else
  106
  107
  108
  109
  110
  115    else {
  116        ASSERT1( 0, 
"illegal basic domain (type = %d)!", type );
 
  117        return 0;
  118    }
  119}
#define ASSERT1(expression, message, parameter1)
 
 
◆ basic() [6/8]
  
  | 
        
          | InternalCF * CFFactory::basic | ( | int | type, |  
          |  |  | long | value, |  
          |  |  | bool | nonimm |  
          |  | ) |  |  |  | static | 
 
Definition at line 245 of file cf_factory.cc.
  246{
  247    if ( nonimm )
  252        else {
  253            ASSERT( 0, 
"illegal basic domain!" );
 
  254            return 0;
  255        }
  256    else
  258}
static InternalCF * basic(int value)
factory's class for rationals
 
 
◆ basic() [7/8]
Definition at line 61 of file cf_factory.cc.
   62{
   64  {
   66#if SIZEOF_LONG == 8
   68#else
   71        else
   73#endif
   75#if SIZEOF_LONG == 8
   77#else
   80        else
   82#endif
   87    #ifndef HAVE_NTL
   90    #endif
   91    default: {
   92        ASSERT( 0, 
"illegal basic domain!" );
 
   93        return 0;
   94    }
   95  }
   96}
 
 
◆ basic() [8/8]
Definition at line 31 of file cf_factory.cc.
   32{
   34  {
   38        else
   40
   41
   42
   43
   44
   49    #ifndef HAVE_NTL
   52    #endif
   53    default: {
   54        ASSERT( 0, 
"illegal basic domain!" );
 
   55        return 0;
   56    }
   57  }
   58}
 
 
◆ gettype()
  
  | 
        
          | static int CFFactory::gettype | ( |  | ) |  |  | inlinestatic | 
 
 
◆ poly() [1/2]
Definition at line 286 of file cf_factory.cc.
  287{
  290    else
  292}
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.
  276{
  279        return result->normalize_myself();
 
  280    }
  281    else
  283}
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: