Changeset 835d83 in git
- Timestamp:
- Jan 5, 2010, 2:12:51 PM (13 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- c1b19ccf41e1037d164be1cd878738e7b2cdfaec
- Parents:
- 460c65ff7087c9b69ec5def1374562ed1b518f80
- Location:
- kernel
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/clapconv.h
r460c65f r835d83 14 14 #include "structs.h" 15 15 #include "longalg.h" 16 #include "ring.h" 16 17 #include <factory.h> 17 18 -
kernel/febase.h
r460c65f r835d83 106 106 #define TRACE_BREAKPOINT 32 107 107 #define TRACE_TMP_BREAKPOINT 64 108 extern int 109 110 108 extern int myynest; 109 extern int yylineno; 110 extern char my_yylinebuf[80]; 111 111 112 112 #define PROT_NONE 0 -
kernel/fglmgauss.cc
r460c65f r835d83 15 15 #include "structs.h" 16 16 #include "numbers.h" 17 #include "ring.h" 17 18 #include "omalloc.h" 18 19 -
kernel/ideals.h
r460c65f r835d83 9 9 */ 10 10 #include "structs.h" 11 #include "ring.h" 11 12 12 13 #ifdef PDEBUG -
kernel/kstd1.h
r460c65f r835d83 9 9 */ 10 10 #include "structs.h" 11 #include "ring.h" 11 12 12 13 ideal mora (ideal F, ideal Q,intvec *w,intvec *hilb,kStrategy strat); -
kernel/misc.cc
r460c65f r835d83 47 47 /* init bins from structs.h */ 48 48 49 omBin MP_INT_bin = omGetSpecBin(sizeof(MP_INT));50 49 omBin char_ptr_bin = omGetSpecBin(sizeof(char_ptr)); 51 50 omBin ideal_bin = omGetSpecBin(sizeof(ideal)); 52 51 omBin int_bin = omGetSpecBin(sizeof(int)); 53 52 omBin poly_bin = omGetSpecBin(sizeof(poly)); 54 omBin void_ptr_bin = omGetSpecBin(sizeof(void_ptr));55 53 omBin indlist_bin = omGetSpecBin(sizeof(indlist)); 56 54 omBin naIdeal_bin = omGetSpecBin(sizeof(naIdeal)); … … 62 60 omBin sip_sring_bin = omGetSpecBin(sizeof(sip_sring)); 63 61 omBin ip_sideal_bin = omGetSpecBin(sizeof(ip_sideal)); 64 omBin ip_smap_bin = omGetSpecBin(sizeof(ip_smap));65 62 omBin ip_sring_bin = omGetSpecBin(sizeof(ip_sring)); 66 63 -
kernel/ncSAFormula.h
r460c65f r835d83 12 12 13 13 #include <structs.h> 14 #include <ring.h> 14 15 15 16 bool ncInitSpecialPowersMultiplication(ring r); -
kernel/ring.h
r460c65f r835d83 15 15 16 16 #define SHORT_REAL_LENGTH 6 // use short reals for real <= 6 digits 17 18 extern ring currRing; 19 extern ideal currQuotient; 20 extern idhdl currRingHdl; 17 21 18 22 -
kernel/sbuckets.h
r460c65f r835d83 16 16 17 17 #include "structs.h" 18 #include "ring.h" 18 19 19 20 -
kernel/structs.h
r460c65f r835d83 183 183 typedef int * int_ptr; 184 184 typedef short * short_ptr; 185 typedef void * void_ptr;186 185 typedef ip_sring * ring; 187 186 typedef int idtyp; … … 315 314 BOOLEAN (*nDBTest)(number a, const char *f,const int l); 316 315 #endif 317 //extern number (*nMap)(number from);318 316 319 317 number nNULL; /* the 0 as constant */ … … 323 321 n_coeffType type; 324 322 }; 325 /* current ring stuff */326 327 extern ring currRing;328 extern ideal currQuotient;329 extern idhdl currRingHdl;330 323 331 324 extern idhdl currPackHdl; … … 789 782 #endif 790 783 #endif 791 792 extern int yylineno;793 extern char my_yylinebuf[80];794 784 795 785 #define loop for(;;) … … 913 903 #endif /* HAVE_LIBPARSER */ 914 904 915 extern struct omBin_s* MP_INT_bin;916 905 extern struct omBin_s* char_ptr_bin; 917 906 extern struct omBin_s* ideal_bin; 918 907 extern struct omBin_s* int_bin; 919 908 extern struct omBin_s* poly_bin; 920 extern struct omBin_s* void_ptr_bin;921 909 extern struct omBin_s* indlist_bin; 922 910 extern struct omBin_s* naIdeal_bin; … … 928 916 extern struct omBin_s* sip_sring_bin; 929 917 extern struct omBin_s* ip_sideal_bin; 930 extern struct omBin_s* ip_smap_bin;931 918 extern struct omBin_s* ip_sring_bin; 932 919 extern struct omBin_s* sleftv_bin; … … 997 984 }; 998 985 999 class proc_singular 1000 { 1001 public: 1002 long proc_start; // position where proc is starting 1003 long def_end; // position where proc header is ending 1004 long help_start; // position where help is starting 1005 long help_end; // position where help is starting 1006 long body_start; // position where proc-body is starting 1007 long body_end; // position where proc-body is ending 1008 long example_start; // position where example is starting 1009 long proc_end; // position where proc is ending 1010 int proc_lineno; 1011 int body_lineno; 1012 int example_lineno; 1013 char *body; 1014 long help_chksum; 1015 }; 1016 1017 struct proc_object 1018 { 1019 //public: 1020 BOOLEAN (*function)(leftv res, leftv v); 1021 }; 1022 1023 union uprocinfodata; 1024 1025 union uprocinfodata 1026 { 1027 public: 1028 proc_singular s; // data of Singular-procedure 1029 struct proc_object o; // pointer to binary-function 1030 }; 1031 1032 typedef union uprocinfodata procinfodata; 1033 1034 typedef enum { LANG_NONE, LANG_TOP, LANG_SINGULAR, LANG_C, LANG_MAX} language_defs; 1035 // LANG_TOP : Toplevel package only 1036 // LANG_SINGULAR: 1037 // LANG_C : 1038 class procinfo 1039 { 1040 public: 1041 char *libname; 1042 char *procname; 1043 package pack; 1044 language_defs language; 1045 short ref; 1046 char is_static; // if set, proc not accessible for user 1047 char trace_flag; 1048 procinfodata data; 1049 }; 1050 1051 #endif 1052 1053 #endif 1054 986 #endif 987 988 #endif 989 -
kernel/syz.cc
r460c65f r835d83 655 655 if (w!=NULL) 656 656 { 657 result->weights = (intvec**)omAlloc0Bin( void_ptr_bin);657 result->weights = (intvec**)omAlloc0Bin(char_ptr_bin); 658 658 (result->weights)[0] = ivCopy(w); 659 659 result->length = 1; -
kernel/syz.h
r460c65f r835d83 9 9 */ 10 10 #include "structs.h" 11 #include "ring.h" 11 12 12 13 // Logarithm of estimate of maximal number of new components -
kernel/weight.h
r460c65f r835d83 10 10 11 11 #include "structs.h" 12 #include "ring.h" 12 13 13 14 extern short * ecartWeights;
Note: See TracChangeset
for help on using the changeset viewer.