source: git/factory/cf_defs.h @ 5df7d0

spielwiese
Last change on this file since 5df7d0 was 10af64, checked in by Martin Lee <martinlee84@…>, 14 years ago
added new modular gcd over finite fields git-svn-id: file:///usr/local/Singular/svn/trunk@12759 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.0 KB
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2/* $Id$ */
3
4#ifndef INCL_CF_DEFS_H
5#define INCL_CF_DEFS_H
6
7#include <config.h>
8
9/*BEGINPUBLIC*/
10
11#define LEVELBASE -1000000
12#define LEVELTRANS -500000
13#define LEVELQUOT 1000000
14#define LEVELEXPR 1000001
15
16#define UndefinedDomain 32000
17#define PrimePowerDomain 5
18#define GaloisFieldDomain 4
19#define FiniteFieldDomain 3
20#define RationalDomain 2
21#define IntegerDomain 1
22
23//{{{ constants
24//{{{ docu
25//
26// - factory switches.
27//
28//}}}
29const int SW_RATIONAL = 0;
30const int SW_QUOTIENT = 1;
31const int SW_SYMMETRIC_FF = 2;
32const int SW_BERLEKAMP = 3;
33const int SW_FAC_USE_BIG_PRIMES = 4;
34const int SW_FAC_QUADRATICLIFT = 5;
35const int SW_USE_EZGCD = 6;
36const int SW_USE_EZGCD_P = 7;
37const int SW_USE_SPARSEMOD = 8;
38const int SW_USE_NTL=9;
39const int SW_USE_NTL_GCD_0=10;
40const int SW_USE_NTL_GCD_P=11;
41const int SW_USE_NTL_SORT=12;
42const int SW_USE_CHINREM_GCD=13;
43const int SW_USE_GCD_P=14;
44const int SW_USE_QGCD=15;
45const int SW_USE_fieldGCD=16;
46const int SW_USE_FF_MOD_GCD=17;
47//}}}
48
49/*ENDPUBLIC*/
50
51#endif /* ! INCL_CF_DEFS_H */
Note: See TracBrowser for help on using the repository browser.