weight.h
Go to the documentation of this file.
1 #ifndef WEIGHT_H
2 #define WEIGHT_H
3 /****************************************
4 * Computer Algebra System SINGULAR *
5 ****************************************/
6 /*
7 * ABSTRACT
8 */
9 
10 #include <polys/monomials/ring.h>
11 
12 extern short * ecartWeights;
13 //extern pFDegProc pFDegOld;
14 //extern pLDegProc pLDegOld;
15 
16 void kEcartWeights(poly* s, int sl, short *eweight, const ring R);
17 //BOOLEAN kWeight(leftv res,leftv id);
18 //BOOLEAN kQHWeight(leftv res,leftv v);
19 long maxdegreeWecart(poly p,int *l, ring r);
20 long totaldegreeWecart(poly p, ring r);
21 long totaldegreeWecart_IV(poly p, ring r, const short *w);
22 
23 short * iv2array(intvec * iv, const ring R);
24 
25 // internal:
26 extern "C" double (*wFunctional)(int *degw, int *lpol, int npol,
27  double *rel, double wx, double wNsqr);
28 extern "C" double wFunctionalBuch(int *degw, int *lpol, int npol,
29  double *rel, double wx, double wNsqr);
30 void wCall(poly* s, int sl, int *x, double wNsqr, const ring R);
31 
32 #endif
33 
const CanonicalForm int s
Definition: facAbsFact.cc:55
short * iv2array(intvec *iv, const ring R)
Definition: weight.cc:208
return P p
Definition: myNF.cc:203
double wFunctionalBuch(int *degw, int *lpol, int npol, double *rel, double wx, double wNsqr)
Definition: weight0.c:82
short * ecartWeights
Definition: weight0.c:32
void wCall(poly *s, int sl, int *x, double wNsqr, const ring R)
Definition: weight.cc:116
const ring r
Definition: syzextra.cc:208
Definition: intvec.h:16
const ring R
Definition: DebugPrint.cc:36
void kEcartWeights(poly *s, int sl, short *eweight, const ring R)
Definition: weight.cc:190
const CanonicalForm & w
Definition: facAbsFact.cc:55
Variable x
Definition: cfModGcd.cc:4023
double(* wFunctional)(int *degw, int *lpol, int npol, double *rel, double wx, double wNsqr)
Definition: weight.h:26
long totaldegreeWecart(poly p, ring r)
Definition: weight.cc:225
long maxdegreeWecart(poly p, int *l, ring r)
Definition: weight.cc:255
polyrec * poly
Definition: hilb.h:10
int l
Definition: cfEzgcd.cc:94
long totaldegreeWecart_IV(poly p, ring r, const short *w)
Definition: weight.cc:239