source: git/factory/cf_defs.h @ 37f64cb

spielwiese
Last change on this file since 37f64cb was b52d27, checked in by Martin Lee <martinlee84@…>, 10 years ago
chg: more docu changes
  • Property mode set to 100644
File size: 1.0 KB
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2
3/**
4 * @file cf_defs.h
5 *
6 * factory switches.
7**/
8
9#ifndef INCL_CF_DEFS_H
10#define INCL_CF_DEFS_H
11
12// #include "config.h"
13
14/*BEGINPUBLIC*/
15
16#define LEVELBASE -1000000
17#define LEVELTRANS -500000
18#define LEVELQUOT 1000000
19#define LEVELEXPR 1000001
20
21#define UndefinedDomain 32000
22#define GaloisFieldDomain 4
23#define FiniteFieldDomain 3
24#define RationalDomain 2
25#define IntegerDomain 1
26
27/// set to 1 for computations over Q
28const int SW_RATIONAL = 0;
29/// set to 1 for symmetric representation over F_q
30const int SW_SYMMETRIC_FF = 1;
31/// set to 1 to use EZGCD over Z
32const int SW_USE_EZGCD = 2;
33/// set to 1 to use EZGCD over F_q
34const int SW_USE_EZGCD_P = 3;
35/// set to 1 to sort factors in a factorization
36const int SW_USE_NTL_SORT=4;
37/// set to 1 to use modular gcd over Z
38const int SW_USE_CHINREM_GCD=5;
39/// set to 1 to use Encarnacion GCD over Q(a)
40const int SW_USE_QGCD=6;
41/// set to 1 to use modular GCD over F_q
42const int SW_USE_FF_MOD_GCD=7;
43
44/*ENDPUBLIC*/
45
46#endif /* ! INCL_CF_DEFS_H */
Note: See TracBrowser for help on using the repository browser.