source: git/Singular/mpr_global.h @ 97a7b44

fieker-DuValspielwiese
Last change on this file since 97a7b44 was 8a150b, checked in by Hans Schönemann <hannes@…>, 25 years ago
* hannes: added long reals git-svn-id: file:///usr/local/Singular/svn/trunk@3012 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.3 KB
Line 
1#ifndef MPR_GLOBAL_H
2#define MPR_GLOBAL_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id: mpr_global.h,v 1.1 1999-04-29 11:38:51 Singular Exp $ */
7
8/*
9* ABSTRACT - multipolynomial resultants -
10*                                global definitions and debugging stuff
11*/
12
13// Define WITH_SUBDIV to compute mixed polyhedral subdivision
14//#define WITH_SUBDIV
15
16// <matrix representation>_<determinant algorithm>
17#define DENSE_FACTORY    1
18#define SPARSE_BAREISS   2
19#define SPARSE_GAUSS     3
20
21#define USE_MATRIX_REP SPARSE_BAREISS
22
23// Set to double or long double. double is recomended.
24// Sets the global floating point type used in mpr_roots.cc and mpr_nric.cc.
25typedef double mprfloat;
26
27// --------------------------- debugging stuff ----------------------------
28//#define mprDEBUG_ALL
29#define mprDEBUG_PROT
30#define mprDEBUG_STICKY
31
32#ifdef mprDEBUG_PROT
33#define mprPROT(msg) Print("%s",msg)
34#define mprPROTnl(msg) Print("%s\n",msg)
35#define mprPROTP(msg,poly) Print("%s",msg);pWrite0(poly)
36#define mprPROTPnl(msg,poly) Print("%s",msg);pWrite(poly)
37#define mprPROTI(msg,intval) Print("%s%d",msg,intval)
38#define mprPROTInl(msg,intval) Print("%s%d\n",msg,intval)
39#define mprPROTN(msg,nval) Print("%s",msg);nPrint(nval);
40#define mprPROTNnl(msg,nval) Print("%s",msg);nPrint(nval);PrintLn();
41#else
42#define mprPROT(msg)
43#define mprPROTnl(msg)
44#define mprPROTP(msg,poly)
45#define mprPROTPnl(msg,poly)
46#define mprPROTI(msg,intval)
47#define mprPROTInl(msg,intval)
48#define mprPROTN(msg,nval)
49#define mprPROTNnl(msg,nval)
50#endif
51
52#ifdef mprDEBUG_STICKY
53#define mprSTICKYPROT(msg) Print(msg)
54//if (BTEST1(OPT_PROT)) Print(msg)
55#else
56#define mprSTICKYPROT(msg)
57#endif
58
59// output by mprSTICKYPROT
60#define ST_BASE_EV "."
61
62#define ST_DENSE_FR ":"
63#define ST_DENSE_NR "."
64#define ST_DENSE_MEM "+"
65#define ST_DENSE_NMON "-"
66
67#define ST_SPARSE_MEM "+"
68#define ST_SPARSE_VADD "+"
69#define ST_SPARSE_VREJ "-"
70#define ST_SPARSE_MPEND "e"
71#define ST_SPARSE_MREC1 "r"
72#define ST_SPARSE_MREC2 "R"
73#define ST_SPARSE_RC "+"
74#define ST_SPARSE_RCRJ "-"
75
76#define ST__DET "|"
77
78#define ST_ROOTS_LGSTEP "|"
79#define ST_ROOTS_LGPOLISH "#"
80#define ST_ROOTS_LG "-"
81
82#define ST_VANDER_STEP "."
83
84#endif
85
86// local Variables: ***
87// folded-file: t ***
88// compile-command-1: "make installg" ***
89// compile-command-2: "make install" ***
90// End: ***
Note: See TracBrowser for help on using the repository browser.