My Project  debian-1:4.1.1-p2+ds-4build1
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 
ecartWeights
short * ecartWeights
Definition: weight0.c:27
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:187
maxdegreeWecart
long maxdegreeWecart(poly p, int *l, ring r)
Definition: weight.cc:252
totaldegreeWecart_IV
long totaldegreeWecart_IV(poly p, ring r, const short *w)
Definition: weight.cc:236
intvec
Definition: intvec.h:16
wCall
void wCall(poly *s, int sl, int *x, double wNsqr, const ring R)
Definition: weight.cc:113
ring.h
wFunctional
double(* wFunctional)(int *degw, int *lpol, int npol, double *rel, double wx, double wNsqr)
Definition: weight.h:25
iv2array
short * iv2array(intvec *iv, const ring R)
Definition: weight.cc:205
totaldegreeWecart
long totaldegreeWecart(poly p, ring r)
Definition: weight.cc:222
l
int l
Definition: cfEzgcd.cc:93
R
#define R
Definition: sirandom.c:26
p
int p
Definition: cfModGcd.cc:4019
s
const CanonicalForm int s
Definition: facAbsFact.cc:55
wFunctionalBuch
double wFunctionalBuch(int *degw, int *lpol, int npol, double *rel, double wx, double wNsqr)
Definition: weight0.c:77