Changeset 47bc1c in git for Singular/structs.h
- Timestamp:
- Oct 23, 2000, 2:02:23 PM (24 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
- Children:
- e6ad3ebfbb2c2611080bdaeb70701b50c2ef9444
- Parents:
- cebf9e609bfa59b57202a95a5f952cdf6c85e7fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/structs.h
rcebf9e r47bc1c 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: structs.h,v 1. 39 2000-10-19 15:00:22obachman Exp $ */6 /* $Id: structs.h,v 1.40 2000-10-23 12:02:20 obachman Exp $ */ 7 7 /* 8 8 * ABSTRACT … … 153 153 typedef struct _scmdnames cmdnames; 154 154 155 /* the function pointer types */ 156 typedef number (*numberfunc)(number a,number b); 157 158 extern ring currRing; 159 typedef int (*pLDegProc)(poly p, int *length, ring r= currRing); 160 typedef int (*pFDegProc)(poly p, ring r = currRing); 161 155 162 typedef enum 156 163 { … … 248 255 249 256 // is NULL for lp or N == 1, otherwise non-NULL (with OrdSize > 0 entries) */ 250 sro_ord *typ; /* array of orderings + sizes, OrdSize entries */257 sro_ord* typ; /* array of orderings + sizes, OrdSize entries */ 251 258 252 259 ideal qideal; /* extension to the ring structure: qring */ … … 254 261 255 262 int *VarOffset; 256 /* mapping exp. of var(i) -> p->exp */ 257 /* mapping exp. of var(i) -> 258 p->exp[(VarOffset[i] & 0xffffff)] >> (VarOffset[i] >> 24) & bitmask */ 263 int* firstwv; 259 264 260 265 struct omBin_s* PolyBin; /* Bin from where monoms are allocated */ … … 267 272 short OrdSgn; /* 1 for polynomial rings, -1 otherwise */ 268 273 274 short firstBlockEnds; 275 276 269 277 BOOLEAN VectorOut; 270 278 BOOLEAN ShortOut; 271 279 BOOLEAN CanShortOut; 280 BOOLEAN LexOrder; 281 // TRUE if the monomial ordering has polynomial and power series blocks 282 BOOLEAN MixedOrder; 283 // 1 for lex ordering (except ls), -1 otherwise 284 BOOLEAN ComponentOrder; 285 272 286 273 287 // what follows below here should be set by rComplete, _only_ … … 298 312 if < 0, long vars in exp vector are not consecutive */ 299 313 short VarL_LowIndex; 314 315 /* if this is > 0, then NegWeightL_Offset[0..size_1] is index of longs in 316 ExpVector whose values need an offset due to negative weights */ 317 short NegWeightL_Size; 318 /* array of NegWeigtL_Size indicies */ 319 int* NegWeightL_Offset; 320 300 321 /* array of size VarL_Size, 301 322 VarL_Offset[i] gets i-th long var in exp vector */ … … 307 328 unsigned long divmask; 308 329 309 p_Procs_s* p_Procs; 330 p_Procs_s* p_Procs; 331 pFDegProc pFDeg; 332 pLDegProc pLDeg; 310 333 }; 311 334 … … 329 352 #endif /* __cplusplus */ 330 353 331 /* the function pointer types */ 332 typedef number (*numberfunc)(number a,number b); 333 334 typedef void (*pSetmProc)(poly p); 335 typedef int (*pLDegProc)(poly p, int *length); 336 typedef int (*pFDegProc)(poly p); 337 typedef int (*pCompProc)(poly p1, poly p2); 338 339 extern ring currRing; 354 340 355 341 356 /* … … 344 359 345 360 /* 7.1 C-routines : */ 361 346 362 347 363 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.