My Project  debian-1:4.1.2-p1+ds-2
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_VAR 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" THREAD_VAR 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 
x
Variable x
Definition: cfModGcd.cc:4023
w
const CanonicalForm & w
Definition: facAbsFact.cc:55
kEcartWeights
void kEcartWeights(poly *s, int sl, short *eweight, const ring R)
Definition: weight.cc:181
maxdegreeWecart
long maxdegreeWecart(poly p, int *l, ring r)
Definition: weight.cc:246
wFunctional
THREAD_VAR double(* wFunctional)(int *degw, int *lpol, int npol, double *rel, double wx, double wNsqr)
Definition: weight.h:25
totaldegreeWecart_IV
long totaldegreeWecart_IV(poly p, ring r, const short *w)
Definition: weight.cc:230
intvec
Definition: intvec.h:18
wCall
void wCall(poly *s, int sl, int *x, double wNsqr, const ring R)
Definition: weight.cc:107
ring.h
iv2array
short * iv2array(intvec *iv, const ring R)
Definition: weight.cc:199
totaldegreeWecart
long totaldegreeWecart(poly p, ring r)
Definition: weight.cc:216
l
int l
Definition: cfEzgcd.cc:93
R
#define R
Definition: sirandom.c:27
p
int p
Definition: cfModGcd.cc:4019
s
const CanonicalForm int s
Definition: facAbsFact.cc:55
ecartWeights
EXTERN_VAR short * ecartWeights
Definition: weight.h:11
THREAD_VAR
#define THREAD_VAR
Definition: globaldefs.h:12
wFunctionalBuch
double wFunctionalBuch(int *degw, int *lpol, int npol, double *rel, double wx, double wNsqr)
Definition: weight0.c:77
EXTERN_VAR
#define EXTERN_VAR
Definition: globaldefs.h:6