[35aab3] | 1 | #ifndef WEIGHT_H |
---|
| 2 | #define WEIGHT_H |
---|
| 3 | /**************************************** |
---|
| 4 | * Computer Algebra System SINGULAR * |
---|
| 5 | ****************************************/ |
---|
| 6 | /* |
---|
| 7 | * ABSTRACT |
---|
| 8 | */ |
---|
[6aacb6] | 9 | /* $Id: weight.h,v 1.2 2007-04-04 14:13:31 Singular Exp $ */ |
---|
[35aab3] | 10 | |
---|
| 11 | #include "structs.h" |
---|
| 12 | |
---|
| 13 | extern short * ecartWeights; |
---|
| 14 | extern pFDegProc pFDegOld; |
---|
| 15 | extern pLDegProc pLDegOld; |
---|
| 16 | |
---|
| 17 | void kEcartWeights(polyset s, int sl, short *eweight); |
---|
| 18 | BOOLEAN kWeight(leftv res,leftv id); |
---|
| 19 | BOOLEAN kQHWeight(leftv res,leftv v); |
---|
| 20 | long maxdegreeWecart(poly p,int *l, ring r = currRing); |
---|
| 21 | long totaldegreeWecart(poly p, ring r = currRing); |
---|
| 22 | long totaldegreeWecart_IV(poly p, ring r, const short *w); |
---|
| 23 | |
---|
| 24 | short * iv2array(intvec * iv); |
---|
| 25 | |
---|
| 26 | // internal: |
---|
| 27 | extern "C" double (*wFunctional)(int *degw, int *lpol, int npol, |
---|
[6aacb6] | 28 | double *rel, double wx, double wNsqr); |
---|
[35aab3] | 29 | extern "C" double wFunctionalBuch(int *degw, int *lpol, int npol, |
---|
[6aacb6] | 30 | double *rel, double wx, double wNsqr); |
---|
| 31 | void wCall(polyset s, int sl, int *x, double wNsqr); |
---|
[35aab3] | 32 | |
---|
| 33 | #endif |
---|
| 34 | |
---|