My Project  debian-1:4.1.1-p2+ds-4build1
Macros | Variables
cf_defs.h File Reference
#include "omalloc/omalloc.h"

Go to the source code of this file.

Macros

#define LEVELBASE   -1000000
 
#define LEVELTRANS   -500000
 
#define LEVELQUOT   1000000
 
#define LEVELEXPR   1000001
 
#define UndefinedDomain   32000
 
#define GaloisFieldDomain   4
 
#define FiniteFieldDomain   3
 
#define RationalDomain   2
 
#define IntegerDomain   1
 
#define NEW_ARRAY(T, N)   (T*)omAlloc((N)*sizeof(T))
 
#define DELETE_ARRAY(P)   omFree(P)
 

Variables

static const int SW_RATIONAL = 0
 set to 1 for computations over Q More...
 
static const int SW_SYMMETRIC_FF = 1
 set to 1 for symmetric representation over F_q More...
 
static const int SW_USE_EZGCD = 2
 set to 1 to use EZGCD over Z More...
 
static const int SW_USE_EZGCD_P = 3
 set to 1 to use EZGCD over F_q More...
 
static const int SW_USE_NTL_SORT =4
 set to 1 to sort factors in a factorization More...
 
static const int SW_USE_CHINREM_GCD =5
 set to 1 to use modular gcd over Z More...
 
static const int SW_USE_QGCD =6
 set to 1 to use Encarnacion GCD over Q(a) More...
 
static const int SW_USE_FF_MOD_GCD =7
 set to 1 to use modular GCD over F_q More...
 

Detailed Description

factory switches.

Definition in file cf_defs.h.

Macro Definition Documentation

◆ DELETE_ARRAY

#define DELETE_ARRAY (   P)    omFree(P)

Definition at line 49 of file cf_defs.h.

◆ FiniteFieldDomain

#define FiniteFieldDomain   3

Definition at line 23 of file cf_defs.h.

◆ GaloisFieldDomain

#define GaloisFieldDomain   4

Definition at line 22 of file cf_defs.h.

◆ IntegerDomain

#define IntegerDomain   1

Definition at line 25 of file cf_defs.h.

◆ LEVELBASE

#define LEVELBASE   -1000000

Definition at line 16 of file cf_defs.h.

◆ LEVELEXPR

#define LEVELEXPR   1000001

Definition at line 19 of file cf_defs.h.

◆ LEVELQUOT

#define LEVELQUOT   1000000

Definition at line 18 of file cf_defs.h.

◆ LEVELTRANS

#define LEVELTRANS   -500000

Definition at line 17 of file cf_defs.h.

◆ NEW_ARRAY

#define NEW_ARRAY (   T,
  N 
)    (T*)omAlloc((N)*sizeof(T))

Definition at line 48 of file cf_defs.h.

◆ RationalDomain

#define RationalDomain   2

Definition at line 24 of file cf_defs.h.

◆ UndefinedDomain

#define UndefinedDomain   32000

Definition at line 21 of file cf_defs.h.

Variable Documentation

◆ SW_RATIONAL

const int SW_RATIONAL = 0
static

set to 1 for computations over Q

Definition at line 28 of file cf_defs.h.

◆ SW_SYMMETRIC_FF

const int SW_SYMMETRIC_FF = 1
static

set to 1 for symmetric representation over F_q

Definition at line 30 of file cf_defs.h.

◆ SW_USE_CHINREM_GCD

const int SW_USE_CHINREM_GCD =5
static

set to 1 to use modular gcd over Z

Definition at line 38 of file cf_defs.h.

◆ SW_USE_EZGCD

const int SW_USE_EZGCD = 2
static

set to 1 to use EZGCD over Z

Definition at line 32 of file cf_defs.h.

◆ SW_USE_EZGCD_P

const int SW_USE_EZGCD_P = 3
static

set to 1 to use EZGCD over F_q

Definition at line 34 of file cf_defs.h.

◆ SW_USE_FF_MOD_GCD

const int SW_USE_FF_MOD_GCD =7
static

set to 1 to use modular GCD over F_q

Definition at line 42 of file cf_defs.h.

◆ SW_USE_NTL_SORT

const int SW_USE_NTL_SORT =4
static

set to 1 to sort factors in a factorization

Definition at line 36 of file cf_defs.h.

◆ SW_USE_QGCD

const int SW_USE_QGCD =6
static

set to 1 to use Encarnacion GCD over Q(a)

Definition at line 40 of file cf_defs.h.